Solved

Hidden and Undeletable Bookmarks

Posted on 2000-02-21
7
546 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
Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

 

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

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
Outlook for dependable use in a very small business   This article is about using the Outlook application (part of Microsoft Office) in a very small business, or for homeowners where dependability and reliability are critical requirements. This …
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

690 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