Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Bookmarks
Message
From
27/02/2003 08:44:55
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Word Bookmarks
Miscellaneous
Thread ID:
00758718
Message ID:
00758718
Views:
51
I have documents with bookmarks.
I want to open a doc from a hyperlink and go to a specific bookmark

here is the a code example:
LOCAL x1
x1=ADDBS(SYS(5) + SYS(2003) )+"DocDir\Sif_Manual.doc"
LOCAL oWord as word.application
oWord=CREATEOBJECT("WORD.APPLICATION")

WITH oWord
	oDoc=oWord.Documents.Open(x1)

        oDoc.GotoBookmark('Reserves' && this is my pseudo code what is the real thing?

	oWord.Visible=.t.
endwith
I found how to add a bookmark programatically, but not how to jump to it.


Thanks

Peter
Peter Cortiel
Next
Reply
Map
View

Click here to load this message in the networking platform