Go to Word Bookmark 
Author Message
 Go to Word Bookmark

Hi,

My VBScript code opens a Word template and I would like to leave the cursor
at a bookmark. Is there anyway of using objDoc to go to a bookmark.

Thanks,

John



Sun, 02 Nov 2003 10:51:09 GMT  
 Go to Word Bookmark
Hi John,

Try:

    ObjWordDoc.Bookmarks("NameOfBookmark").Range.Select

Hope this helps,
regards,
Astrid

So that all can benefit from the discussion, please post all follow-ups to
the newsgroup.
Visit the MVP Word FAQ site at http://www.mvps.org/word/



Quote:
> Hi,

> My VBScript code opens a Word template and I would like to leave the
cursor
> at a bookmark. Is there anyway of using objDoc to go to a bookmark.

> Thanks,

> John



Sun, 02 Nov 2003 16:07:27 GMT  
 Go to Word Bookmark
Thank you. Worked well.

John


Quote:
> Hi John,

> Try:

>     ObjWordDoc.Bookmarks("NameOfBookmark").Range.Select

> Hope this helps,
> regards,
> Astrid

> So that all can benefit from the discussion, please post all follow-ups to
> the newsgroup.
> Visit the MVP Word FAQ site at http://www.mvps.org/word/



> > Hi,

> > My VBScript code opens a Word template and I would like to leave the
> cursor
> > at a bookmark. Is there anyway of using objDoc to go to a bookmark.

> > Thanks,

> > John



Mon, 03 Nov 2003 09:37:16 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. VBA, Word 2000, Textbox, bookmarks, go to

2. Office XP only: Spurious bookmark added to Word document Automating Powerpoint from Word

3. Go to Bookmark on Open

4. Going from Word 97 to Word 2002 (Macros)

5. Go to Bookmark upon opening document from template

6. go to next bookmark

7. Bookmark - Macro to Go Next/Previous?

8. Bookmarks are gone after mail merge

9. Selecting a Bookmark and gone is the page setup

10. Going to Bookmarks from a web link

11. word count with goal or words to go

12. Go to a bookmark by location

 

 
Powered by phpBB® Forum Software