Opening Word DOC from command line and going to a bookmark

A

AbbieSomeone

Hello all,

I've found instructions for opening Word from the command line, for opening
Word from the command line AND opening a particular document, but not for
opening a particular Word document AND going to a bookmarked location (from
the command line).

I tried adding #<bookmark> to the end of the file name, as you would for a
link within an HTML file. But it doesn't work from the command line.

So, how can I, from the command line, open a Word document and navigate to a
bookmarked location within?

Suggestions? Using XP Pro and Office 2003.

Cheers
 
N

Norman Yuan

You need to write a Word automation application to do that. Using VB5/6
would be easiest.
 
A

AbbieSomeone

You need to write a Word automation application to do that. Using VB5/6
would be easiest.

I'm not actually the developer (I've come up with the Word document, but not
the program that launches it).

Do you know of any Web resources that might be helpful? I found lots about
linking to bookmarks from an HTML document, but nothing about opening and
navigating from the command line.
 
N

Norman Yuan

You need to find a programmer who knows how to wirte code in, say,
VB/VBA/VBScript. How complicated the code would depends on what exactly you
want to do. But open Word document and update bookmarks in the document is
definitely easy task. There would be tons of information on this, inside
Word's VBA help, on the net.For example, I googled "MS Word, bookmark
update" and got hundreds of links. But the bottom line is you need to do
some programming (thus the need for a programmer).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top