Thanks. Sorry for the cross posting, wasn't sure where this applied best.
Is there anyway to protect a bookmark or have it inserted via a macro around
selected text? Want to control its naming so that it is properly referenced
where needed.
> Thanks. Sorry for the cross posting, wasn't sure where this applied best.
>
> Is there anyway to protect a bookmark or have it inserted via a macro
> around selected text? Want to control its naming so that it is properly
> referenced where needed.
You can't protect a bookmark, though you can make it harder for it to be
accidentally deleted, for instance by applying a bookmnarks to a whole
table.
You can use VBA to apply a bookmark with a predefined name to the current
selection very easily, like this
ActiveDocument.Bookmarks.Add Name:="MyBookmark", Range:=Selection.Range

Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
ML - 15 Feb 2005 18:36 GMT
Thanks I got it working. I just made a macro to bookmark the selected text.
That way the user can type the info and mark it and I can reference.
Thanks for your help!
>> Thanks. Sorry for the cross posting, wasn't sure where this applied
>> best.
[quoted text clipped - 11 lines]
>
> ActiveDocument.Bookmarks.Add Name:="MyBookmark", Range:=Selection.Range