Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 02-27-2017, 05:23 AM
macropod's Avatar
macropod macropod is offline handle textbox, pictures, and all kind of shapes Windows 7 64bit handle textbox, pictures, and all kind of shapes Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

The code works in all Word versions. If the text is part of an image, it is no longer text, but pixels in an image; in that case, you need OCR software, not a macro.

Since the code you posted only concerned textboxes that were shape objects, that is what I showed you how to extend; you did not mention the need to process inlineshapes. The mere fact the code reports all the extracts as being from textboxes is inconsequential; outputting each & every shape type as well would require considerably more code - there are 24 different shape types.

WordArt is normally not a Shape object but an InlineShape object; if you want to extract such text, you need to process InlineShape objects as well. I suggest you have a go at that - it's not a major undertaking.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
What are the minimum margins most printers can handle? 20GT Word 3 11-08-2014 10:40 PM
handle textbox, pictures, and all kind of shapes Display result in textbox based on the input of another textbox scarymovie Word VBA 5 05-16-2012 07:05 PM
handle textbox, pictures, and all kind of shapes Shapes don't have green handle rdy4trvl Drawing and Graphics 4 05-15-2012 09:53 PM
handle textbox, pictures, and all kind of shapes How does Powerpoint handle resolution of images? noni PowerPoint 2 08-09-2010 03:32 PM
How to handle resources that have Bid on project rrmccabe Project 0 03-21-2010 12:39 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:30 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft