Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Find and replace images thru automation
I am trying to change and add images to Word documents thru automation.
Find and replace works great for words, how do I do the same thing for images. How do I tell word where to load the image from using VB 6. Can the size of the image be controlled by setting up a container of some kind in Word, or does the size need to be set in the image itself prior to being loaded or atrtached to the word document? Thank you |
#2
|
|||
|
|||
You can find some images - and, I suppose, replace them with the contents of
the clipboard - but that's as far as you can go with Find and Replace. All in all you would be better working with the documents Shapes and InLineShapes collections which will give you access to all their properties. You can check the existing size, and size a replacement to fit or whatever you want to do. How you actually identify the images depends on your document; Word has no inbuilt way of telling you what they are. -- Enjoy, Tony "AWIcurrent" wrote in message ... I am trying to change and add images to Word documents thru automation. Find and replace works great for words, how do I do the same thing for images. How do I tell word where to load the image from using VB 6. Can the size of the image be controlled by setting up a container of some kind in Word, or does the size need to be set in the image itself prior to being loaded or atrtached to the word document? Thank you |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Find and Replace GREEK symbols in XP, 2K & 97 | Microsoft Word Help | |||
Problem with function "Find and Replace" in Word. | Microsoft Word Help | |||
Find and Replace | New Users | |||
Find and Replace anomaly | Microsoft Word Help | |||
find and replace symbols | New Users |