Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Bookmark Question
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 |
#2
|
|||
|
|||
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/comm...g=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...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. On 8/6/05 10:20 AM, "Rob Hargreaves" wrote: 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 -- Daiya Mitchell, MVP Mac/Word Word FAQ: http://www.word.mvps.org/ MacWord Tips: http://www.word.mvps.org/MacWordNew/ What's an MVP? A volunteer! Read the FAQ: http://mvp.support.microsoft.com/ |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Bookmark Return | Microsoft Word Help | |||
Bookmark question | New Users | |||
Hyperlink from Word to Excel bookmark | Microsoft Word Help | |||
Form Field (defining and associating a bookmark with it) | Microsoft Word Help | |||
Loss of Bookmark After Re-opening File | Microsoft Word Help |