Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / January 2005

Tip: Looking for answers? Try searching our database.

ActiveDocument.Shapes

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
xgirl - 17 Jan 2005 20:09 GMT
ActiveDocument.Shapes  -  How can I use this to refer to any graphic?  Right
now it only works with a specified...
   'ActiveDocument.Shapes("Picture 267").Select
Jezebel - 19 Jan 2005 01:53 GMT
The shapes are indexed by both name and position within the document.

So you can use ActiveDocument.Shapes(1) for the first.

You can also iterate them --

Dim pShape as Word.Shape

For each pShape in ActiveDocument.Shapes
   ....
Next

> ActiveDocument.Shapes  -  How can I use this to refer to any graphic?  Right
> now it only works with a specified...
>     'ActiveDocument.Shapes("Picture 267").Select

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.