I have a word document with about 250 images and each one having a text label. Each label is a standard line of text. What is the fastest way to select and delete the text in the document without deleting the images?
I have a word document with about 250 images and each one having a text label. Each label is a standard line of text. What is the fastest way to select and delete the text in the document without deleting the images?
Here is a link to a blog showing two examples of code that removes text added to images in Word. Hopefully one fits your scenario.
Removing Captions from Images
_________________
Microsoft MVP 2010 - Excel
Visit: Jerry Beaucaire's Excel Files & Macros
If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
Always put your code between code tags. [CODE] your code here [/CODE]
?None of us is as good as all of us? - Ray Kroc
?Actually, I *am* a rocket scientist.? - JB (little ones count!)
Neither macro worked, they both brought up a line error. I uploaded an example of what I am working with.
This should work for AltText part. Since the solutions offered in the link above did not work, I guess maybe you want to remove the alt text. If not, please say what error do you receive exactly, on which line of which code in that link above.
Please Login or Register to view this content.
Last edited by Mrrrr; 02-17-2020 at 02:05 AM.
To show your appreciation
Click ★ Add reputation!
Use a wildcard Find/Replace, where:
Find = <*^13
Replace = nothing.
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks