If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Protecting bookmarks?
Working in Word97 on Win 98SE...
I just started playing with a (long) document that someone else created; it has a multitude of tables and a few other areas where I need to be able to insert text via VBA code (while still allowing myself or other users to manually edit the document as well). I'm fairly new to Word VBA but know Excel VBA, so that isn't a problem- the problem is that I need to idiot-proof this, and while I can add text at my bookmarks (sort of, it still isn't quite right) I've tested, and it is easy to accidently delete the bookmark manually. Is there any way to set up bookmarks and allow users to do anything they want in the text of the document, but prevent the actual bookmarks themselves from being deleted? For example, in a cell I may want 5 bookmarks to identify 5 different pieces of text I might have to add (separated by already existing text in that cell). When I highlight a row of "new" text to delete it, sometimes the bookmark goes away too. I looked at the FAQ and also through the various tools/options and protection schema in Word97 and didn't find a way to protect the bookmark (without protecting the whole document). Any ideas or suggestions? Thanks in advance, Keith -- The enclosed questions or comments are entirely mine and don't represent the thoughts, views, or policy of my employer. Any errors or omissions are my own. |
#2
|
|||
|
|||
Hi Kr,
and while I can add text at my bookmarks (sort of, it still isn't quite right) I've tested, and it is easy to accidently delete the bookmark manually. Is there any way to set up bookmarks and allow users to do anything they want in the text of the document, but prevent the actual bookmarks themselves from being deleted? No, there's not. Somewhat less prone to accidental deletion are docVariable or DocProperty fields. The text is written to a document variable or document property (the former is VBA-access only; the latter is File/Properties), then display that text using such a field. If someone deletes a field, at least the data is still present, and the field can be inserted again. The only way to "protect" anything in Word97 is to apply Forms protection. Then the users can only work in form fields or unprotected sections. Problem is, lots of things aren't available in that mode. From the sound of it, what you'd really need is Word 2003 new protection features... Cindy Meister INTER-Solutions, Switzerland http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004) http://www.word.mvps.org This reply is posted in the Newsgroup; please post any follow question or reply in the newsgroup and not by e-mail :-) |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Form Field Bookmarks | Wayne | General Discussion | 1 | August 25th, 2004 12:27 AM |
Bookmarks and Hyperlinks on a CD | molsonexpert | General Discussion | 4 | July 15th, 2004 07:04 PM |
Enabling menu commands after protecting a document | tdtoolman | General Discussion | 3 | July 6th, 2004 07:21 PM |
creating hyperlinks to excel bookmarks | Mike | Powerpoint | 1 | June 22nd, 2004 08:27 PM |
Protecting selected Worksheets at Once | Ron de Bruin | Worksheet Functions | 1 | March 18th, 2004 07:56 PM |