go to next bookmark 
Author Message
 go to next bookmark

Hi,

Does anyone knows a "go to next bookmark" macro.
I mean not a defined one with a name, but just the next bookmark in a word
document.

Thanks in advance.

sander van eersel



Thu, 18 Sep 2003 19:16:59 GMT  
 go to next bookmark
Hi Sander

Try this

Selection.Goto What:=wdGoToBookmark, Which:=wdGotoNext

--
Regards
Jonathan West - Word MVP
MultiLinker - Automated generation of hyperlinks in Word
Conversion to PDF & HTML
http://www.multilinker.com
Word FAQs at http://www.multilinker.com/wordfaq
Please post any follow-up in the newsgroup. I do not reply to Word questions
by email


Hi,

Does anyone knows a "go to next bookmark" macro.
I mean not a defined one with a name, but just the next bookmark in a word
document.

Thanks in advance.

sander van eersel



Thu, 18 Sep 2003 19:26:52 GMT  
 go to next bookmark
Hi Jonathan,

Quote:
> Selection.Goto What:=wdGoToBookmark, Which:=wdGotoNext

Did you test this? From everything I've ever seen and
tried, this is broken (gives an error message)?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://www.mvps.org/word
http://go.compuserve.com/MSOfficeForum

This reply is posted in the Newsgroup; please post any
follow question or reply in the newsgroup and not by e-mail
:-)



Sun, 28 Sep 2003 00:50:44 GMT  
 go to next bookmark
Actually, you are right. If you look in the next thread up, Sander queried
this. The help file says nothing that suggests this wouldn't work. This does
however

ActiveDocument.Content.Bookmarks(Selection.PreviousBookmarkID + 1).Select

--
Regards
Jonathan West - Word MVP
MultiLinker - Automated generation of hyperlinks in Word
Conversion to PDF & HTML
http://www.multilinker.com
Word FAQs at http://www.multilinker.com/wordfaq
Please post any follow-up in the newsgroup. I do not reply to Word questions
by email



Quote:
> Hi Jonathan,

> > Selection.Goto What:=wdGoToBookmark, Which:=wdGotoNext

> Did you test this? From everything I've ever seen and
> tried, this is broken (gives an error message)?

> Cindy Meister
> INTER-Solutions, Switzerland
> http://homepage.swissonline.ch/cindymeister
> http://www.mvps.org/word
> http://go.compuserve.com/MSOfficeForum

> This reply is posted in the Newsgroup; please post any
> follow question or reply in the newsgroup and not by e-mail
> :-)



Fri, 03 Oct 2003 01:07:12 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Bookmark - Macro to Go Next/Previous?

2. next bookmark

3. Goto next bookmark ?

4. If Field IsNull Then Go to Next Field And Run - Doesn't work HELP

5. How to go to Next Record in a Combo Box

6. How to go to next record using the keyboard

7. going to next record after inserting a new record

8. Using Tab to go to the next cell

9. Go to Word Bookmark

10. beginners counter to go to next row in Excel with each new message

11. Go to Bookmark on Open

12. Go to Bookmark upon opening document from template

 

 
Powered by phpBB® Forum Software