Solved

Hidden and Undeletable Bookmarks

Posted on 2000-02-21
7
543 Views
Last Modified: 2008-03-04
I was wondering whether it is possible to create an undeletable bookmark in a Word document (without necessarily "locking" the document).

I have read that hidden bookmarks (created through VBA) are undeletable through any means bar code but when I tried this it proved untrue.
0
Comment
Question by:dudz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 44

Expert Comment

by:bruintje
ID: 2544881
Hi dudz,

tried this?

http://support.microsoft.com/support/kb/articles/Q152/7/70.ASP

it also stated their not visible to the user and cannot be deleted without code, because the user will not know of their existence.

HTH:O)Bruintje
0
 
LVL 15

Expert Comment

by:cquinn
ID: 2545330
You can create a section containing the bookmarks and protect the document for forms, with just the relevant section protected.  It does have side-effects though - such as no spell checking etc.
0
 

Author Comment

by:dudz
ID: 2548583
Bruintje - This is the article I already read (the one I said that I proved untrue).  I tried this code and was able to delete the hidden bookmark.

It is true that it is invisible and the user cannot see it but if the user presses backspace, the bookmark is deleted from the bookmark list (check box for hidden bookmarks is checked).

E.G.

this is | a example | of hidden bookmark

If you go to the end of the sentance and press delete you can delete back until this is and the bookmark disappears.  Thankyou for the speedy reply though !!!! :-)
0
Windows running painfully slow? Try these tips..

Stay away from Speed Up Computer Programs that do more harm than good.
Try these tips instead.
Step by step instructions in trouble shooting Windows Performance issues.

 

Author Comment

by:dudz
ID: 2548586
CQuinn - Spell check is mandatory so this option is out.  Also if section is locked text within bookmarks cannot be edited.  I need to be able to edit the text but not able to delete bookmarks in doing so !!

Thanks for the speedy reply though !!
:-)
0
 
LVL 15

Accepted Solution

by:
cquinn earned 50 total points
ID: 2549629
If the bookmark is around a form field, the text can be edited but the bookmark can't be deleted.

You can get round the spell checking problem by using code to unprotect the document, spell check it, then protect it again without resetting the data.  A bit of a kludge, but it does work.

You can also have some parts protected and some parts not - just insert a section break and protect the relevant sections.  Unprotected sections can be spell checked as normal.
0
 

Author Comment

by:dudz
ID: 2553154
It's a bit messy for my needs but it is the only way I can see tat is workeable.  Thankyou cquinn !! :-)
0
 

Author Comment

by:dudz
ID: 2598186
CQuinn,

I have come across a problem using this method.  I am designing these forms for people that aren't aware of hoe to use computers.

The problem is if they click the form and start to type the bookmarks does not appear.  However if they click on the form field and press delete the form field deletes (not concerned about this) as does the bookmark around the form field (this is a problem).





0

Featured Post

Office 365 Advanced Training for Admins

Special Offer:  Buy 1 course, get 2nd free!  Buy the 'Managing Office 365 Identities & Requirements' course w/ Accelerated TestPrep, and automatically receive the 'Enabling Office 365 Services' course FREE!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…
Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question