Thread: [Solved] Save Selection
View Single Post
 
Old 01-13-2011, 03:16 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,382
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Brock,

You can only ever have one instance of a bookmark in a document.

With your 'IndexThis' bookmark, you would need to modify the code to preserve it and, when adding entries, not to simply overwrite what's already there. All possible but your reference to 'the next row' suggests you're using a table. In that case, you could fairly easily iterate through the table rows (even adding rows as needed) without using selections.
Quote:
Would it also be possible to have the code run the whole document automatically as opposed to allowing the user to select sections?
Yes - it's just a matter for using a For each ... Next loop to work through the Sections.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote