Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / April 2006

Tip: Looking for answers? Try searching our database.

Bookmarks

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
klav - 12 Apr 2006 14:01 GMT
Is it possible to prevent a bookmark from being deleted?
Jonathan West - 12 Apr 2006 14:05 GMT
> Is it possible to prevent a bookmark from being deleted?

No.

But you can arrange for it to be recreated

Inserting text at a bookmark without deleting the bookmark
http://www.word.mvps.org/FAQs/MacrosVBA/InsertingTextAtBookmark.htm

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 

klav - 12 Apr 2006 15:45 GMT
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

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.