![]() |
#1
|
|||
|
|||
![]()
I have a word documents created from a converted PDF. I'm trying to programatically select in turn the shapes within the document. If I create a test macro, place a break point in it with a watch expression ActiveDocument.Shapes.Count and run it I can see that there are >2000 of shapes in the document; however the code inside a 'for each shape...' loop never gets executed.
Note that if I copy and paste the shape into a new document the macro works. The code I am using is: Sub SelectShapes() Dim sh As Shape For Each sh In ActiveDocument.Shapes sh.Select 'Will do some other things here Next End Sub Any ideas what might be going on here? Thanks! |
Tags |
shapes |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Select Series Color - Macro | judicial85 | Excel Programming | 0 | 03-14-2011 02:35 PM |
![]() |
SueK | PowerPoint | 1 | 01-20-2011 04:30 AM |
![]() |
bonani | PowerPoint | 1 | 11-26-2009 06:21 PM |
Shapes Will Not Display | JoeTx | Visio | 0 | 03-13-2008 09:01 AM |
My Shapes some appear some don't | Jean-Paul | Visio | 0 | 03-01-2006 01:38 AM |