Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Jumping to a Bookmark in Word
Message
 
To
11/06/2002 07:54:34
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00666768
Message ID:
00666857
Views:
20
>>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

Thanks Tamar, but I need to jump to a specific location in the document to insert documents and tables.
José Augusto Cavalcanti
Global Connection
jose.cavalcanti@globalconnection.com.br
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform