Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Jumping to a Bookmark in Word
Message
From
11/06/2002 07:54:34
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00666768
Message ID:
00666856
Views:
21
>Hi, the sintax to jump to a Bookmark is
>
>expressão.GoTo(What, Which, Count, Name)
>
>How can I use this within VFP?
>Regards,

As Cetin showed you, you can access a bookmark directly, but you probably don't even need the Select syntax he showed. If, for example, you want to replace the text at a bookmark, you can just do it this way:

oDocument.Bookmarks("YourBookmark").Range.Text = "Put this text at the bookmark."

In general, you rarely need to select something in Word in order to work with it.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform