Question How to open Word directly to a bookmark with process.start

GaryS

Member
Joined
Sep 30, 2008
Messages
7
Programming Experience
3-5
Does anyone know how to use Process.Start to open a word document in Word and go directly to a bookmark?

For instance, if I have a linklabel with "c:\somedocument.doc#somebookmark", I want to open the document in Word and place the cursor on the bookmark. This is possible in Access by simply clicking on the hyperlink, but doesn't work in vb.net.

I can open the document by using Process.Start("c:\somedocument.doc"), but I don't see how to make it go to the bookmark. I can make it open the document in a browser window by preceeding the bookmark with "file:///" and using "Iexplorer.exe" as the process and it will go directly to the bookmark, but I want to open Word for full editing capabilities.
 
Back
Top