![]() |
|
![]() |
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
![]()
Your ReferenceMyImages sub only loops through InlineShapes. But you ignore what the loop is doing and use both:
• PicPath = Selection.ShapeRange(1).LinkFormat.SourceFullName (which is invalid for inlineshapes); and • PicPath = Selection.InlineShapes(1).LinkFormat.SourceFullNam e (which is only valid for images inserted as links), and both reference Selection, which isn't necessarily related to any image in the document - what might be selected when the macro is run might just be some text.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
|||
|
|||
![]() Quote:
I am now thinking about inserting captions and looking around the net for changing those text parameters into hyperlinks which will be internal relative paths in the program I am going to be using. I am also looking into how to go about using file and folder names and appending those. But everything is being made more difficult when you try to run macros on 14000 files and all files have different amount of images in them, if any. I have a feeling I will have to resort to having just some placeholders or reminders to mark the positions of where the images used to be in the document. Can you help me with that? So I would need "For Each Image" (position) let's say a highlighted text or a bold green text to bring my attention to where I need to put some elbow grease in it when going through my documents. (With a macro I would change that bold green to something the markdown program will be able to interpret.) In exchange I could tell you how "macro" and "meagre" are semanto-logically related. Even "Maker" as Creator. Cheers, Z. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
VBA Insert Image(logo) into header for multiple Word Docs | Axis | Word VBA | 4 | 02-09-2022 10:34 PM |
![]() |
killabyte | Word VBA | 2 | 09-23-2020 05:49 AM |
How to place an image placeholder that scales the image to the full frame size in a template | Cube | Word | 5 | 07-05-2020 08:27 AM |
![]() |
Agog | Word VBA | 4 | 05-03-2018 05:30 AM |
![]() |
heyjim | Drawing and Graphics | 1 | 08-07-2015 05:23 PM |