
Signature
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org
Yes, I know. Here's what I'm trying to accomplish. I have a document that
has some pieces of data that are bookmarked, in addition to a lot of other
text.
The document is not protected so the user can edit/append, etc.
Periodically, the bookmarked pieces of data are replaced with updated text,
which is taken from another application. I have a macro that does this -- it
searches for the bookmarks and replaces the data within the enclosed bookmark
with updated data.
However, I have run into a situation where the user sometimes accidentally
deletes the bookmarks so when the update is attempted, via a macro, and the
bookmark doesn't exist, the update cannot continue. Any ideas for a better
way to accomplish this task?
> > Is it possible to prevent a bookmark from being deleted?
>
[quoted text clipped - 4 lines]
> Inserting text at a bookmark without deleting the bookmark
> http://www.word.mvps.org/FAQs/MacrosVBA/InsertingTextAtBookmark.htm