![]() |
#1
|
|||
|
|||
![]()
How to programmatically remove all pictures, but keep all text boxes (both inlineshapes and shapes) in a document? Is there a particular type for pictures? In some cases, the pictures are a group of pictures. Any help is appreciated.
|
#2
|
||||
|
||||
![]()
If you use code like:
.InlineShapes(i).Type you can specify the kind of inline shape to process. For an enumeration, input: WdInlineShapeType in Word's VBE, search pane. Similarly, for shapes, if you use code like: .Shapes(i).Type you can specify the kind of shape to process. For an enumeration, input MsoShapeType in Word's VBE, search pane.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
Thanks. It helped a lot. I found the type for pictures is wdinlineshapepicture if the picture is one of inlineshapes.
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
olson109 | Word | 5 | 03-12-2014 01:02 AM |
![]() |
CandySues | Word | 1 | 02-28-2014 02:45 PM |
Taking pictures out of text boxes | cryptogram | Word | 15 | 03-10-2013 04:01 AM |
Word2010 check boxes and plain text content control boxes in same table | fcsungard | Word | 5 | 06-01-2012 01:16 AM |
Problem with Developer Form -- Check Boxes and Text Boxes | PCC | Word | 1 | 05-16-2009 05:22 AM |