View Single Post
 
Old 04-10-2012, 06:17 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

hi TishyMouse,

You shouldn't need to select the shapes to do something with them. For example:
Code:
Sub ProcessShapes()
Dim sh As Shape
For Each sh In ActiveDocument.Shapes
  With sh
    MsgBox .Name
    'Will do some other things here
  End With
Next
End Sub
PS: When posting code, please use the code tags (they're on the Advanced tab).
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote