word bookmarks 
Author Message
 word bookmarks

--
Bob Lohse

Does anyone know how to find the Next bookmark in the document without
explicitly specifying its' name using VBA in a macro?  In other words, if I
am at insertion point A and beyond it there is a book mark, I want to move
the insertion point to the bookmark and read what the bookmark is.  If there
are no more bookmarks, it should return a false.



Sun, 23 May 2004 06:45:23 GMT  
 word bookmarks
Check out the VBA help on the GoTo method.  You can give it relative
parameters like Which:=wdGoToNext  (and of course What:=wdGoToBookmark).


-- See the MVP FAQ at http://www.mvps.org/word ------------------------
--------------- "Life is nothing if you're not obsessed." --John Waters
-----------------------------------------------------------------------
Please reply only to the newsgroup.

Quote:

> --
> Bob Lohse

> Does anyone know how to find the Next bookmark in the document without
> explicitly specifying its' name using VBA in a macro?  In other words, if I
> am at insertion point A and beyond it there is a book mark, I want to move
> the insertion point to the bookmark and read what the bookmark is.  If there
> are no more bookmarks, it should return a false.



Sun, 23 May 2004 07:50:09 GMT  
 word bookmarks
Also answered by Jonathon West in vba.customization.

Bob, please do not post multiple messages on the same topic in multiple
newsgroups. If you do need to post in more than one group, please do it with
one message and both newsgroups in the header. That way all questions and
answers stay linked.
--
Charles Kenyon

Word New User FAQ & Web Directory:
<URL: http://www.addbalance.com/word/index.htm>

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide)
<URL: http://www.addbalance.com/usersguide/index.htm>

See also the MVP FAQ: <URL: http://www.mvps.org/word/> which is awesome!
 --------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.


Quote:

> --
> Bob Lohse

> Does anyone know how to find the Next bookmark in the document without
> explicitly specifying its' name using VBA in a macro?  In other words, if
I
> am at insertion point A and beyond it there is a book mark, I want to move
> the insertion point to the bookmark and read what the bookmark is.  If
there
> are no more bookmarks, it should return a false.



Mon, 24 May 2004 06:21:10 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Import Data from word bookmarks using sql?

2. Go to Word Bookmark

3. WORD bookmark not printing VB text only on some PC's

4. Updating word bookmarks

5. Please help with text box to Word bookmark problem

6. Word - Bookmarks

7. Word Bookmarks, Userforms and Updates

8. Word Bookmarks

9. word bookmarks

10. Please help with text box to word bookmark

11. Converting Word BookMarks to PDF Files

12. copy an excel chart to word bookmark in vb

 

 
Powered by phpBB® Forum Software