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