Bookmark Question

  • Thread starter Thread starter Rob Hargreaves
  • Start date Start date
R

Rob Hargreaves

Hi I need to add bookmarks to the same place in a page over 100 pages.

I have recorded a macro and it gives me the lines of code below where I am
entering a test value instead of a bookmark.

Selection.MoveDown Unit:=wdLine, Count:=39
Selection.TypeText Text:="Test Value"

I would like to be able to add a new bookmark, and name it by the name
bookmark+Pageno

so the bookmark on page one would be named bookmark1
page 2
bookmark2
etc etc

I know the code to add a bookmark and to specify the name -

Bookmarks.Add "bookmark name"

thanks for any help!

Rob
 
The second version of your question did make much more sense, just by the
way. But still the same recommendation:

Questions about macros are better directed to a group that specializes in
Word VBA aka Word Programming, for instance:

http://www.microsoft.com/office/community/en-us/default.mspx?dg=microsoft.pu
blic.word.vba.general&lang=en&cr=US

[you may need to re-wrap the URL if not clickable]

If just beginning with macros, this group is for beginners:

http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=micros
oft.public.word.vba.beginners&lang=en&cr=US

There are many more people in those groups who have the ability to answer
your question, so you will probably get a better and faster answer.
 
Back
Top