Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Locking Bookmarks in Word 2003
Hi Everybody,
Is there any way where I can lock the bookmarks in Word template without protecting the whole document. Even if the user selects the containing text and deletes, the bookmark should be there. So please let me know if there is any way by which I can prevent the deletion of bookmarks along with allowing the user to change its containing text. Regards, Girija |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Locking Bookmarks in Word 2003
Bookmarks are volatile and easily deleted. It might help if you explained
how you are using them - see also http://word.mvps.org/faqs/macrosvba/...arkcontent.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Girija wrote: Hi Everybody, Is there any way where I can lock the bookmarks in Word template without protecting the whole document. Even if the user selects the containing text and deletes, the bookmark should be there. So please let me know if there is any way by which I can prevent the deletion of bookmarks along with allowing the user to change its containing text. Regards, Girija |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Locking Bookmarks in Word 2003
Hi Graham,
Thanks a lot for the info. Its quite helpful. Still one query,if user selects any text containing bookmark from the document itself rather than code, how do I can capture each selection event in the document and get the bookmark name from the selected text. My problem is like this: I have one document which has some bookmarks containing some text. The user can change the text and I have again to capture the changed text. But once user selects the text and changes, the bookmark also gets removed and no way I can capture the changed text in code. Regards, Girija "Graham Mayor" wrote: Bookmarks are volatile and easily deleted. It might help if you explained how you are using them - see also http://word.mvps.org/faqs/macrosvba/...arkcontent.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Girija wrote: Hi Everybody, Is there any way where I can lock the bookmarks in Word template without protecting the whole document. Even if the user selects the containing text and deletes, the bookmark should be there. So please let me know if there is any way by which I can prevent the deletion of bookmarks along with allowing the user to change its containing text. Regards, Girija |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Locking Bookmarks in Word 2003
Hi Girija,
There's no way to capture the fact that a bookmarked range has been selected. However, provided the user only selects an area within the bookmark's boundaries and limits their typing to that area, the bookmark won't be deleted. The safest way to reatin your bookmarks, though, is by protecting the document for forms. In that scenario, you'd set the document up so that the area where the user was permitted to make a change was a formfield that sets the bookmark's name - with a default result/string. If the pirpose of the bookmark is to cause the data to be repeated elsewhere in the document, see: http://gregmaxey.mvps.org/Repeating_Data.htm -- Cheers macropod [MVP - Microsoft Word] "Girija" wrote in message ... Hi Graham, Thanks a lot for the info. Its quite helpful. Still one query,if user selects any text containing bookmark from the document itself rather than code, how do I can capture each selection event in the document and get the bookmark name from the selected text. My problem is like this: I have one document which has some bookmarks containing some text. The user can change the text and I have again to capture the changed text. But once user selects the text and changes, the bookmark also gets removed and no way I can capture the changed text in code. Regards, Girija "Graham Mayor" wrote: Bookmarks are volatile and easily deleted. It might help if you explained how you are using them - see also http://word.mvps.org/faqs/macrosvba/...arkcontent.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Girija wrote: Hi Everybody, Is there any way where I can lock the bookmarks in Word template without protecting the whole document. Even if the user selects the containing text and deletes, the bookmark should be there. So please let me know if there is any way by which I can prevent the deletion of bookmarks along with allowing the user to change its containing text. Regards, Girija |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Style Locking Word 2007 to 2003 | Microsoft Word Help | |||
Mail merge to email - Word 2003 and 2007 - locking graphics | Mailmerge | |||
Locking word 2003 table cells | Page Layout | |||
Microsoft Word 2003 keeps locking up when I open it | Microsoft Word Help | |||
Bookmarks/Favorites in Word 2003 | Microsoft Word Help |