broken hyperlinks pointing to deleted autonumbers

P

Pia Kraus

How can I prevent users from deleting an autonumber (with a _ref...
textmark) which has hyperlinks pointing to it? My users often delete
autonumbers (listnum), and then the document contains many, many broken
links....

Thanks for help
Pia
 
J

Jean-Guy Marcil

Bonjour,

Dans son message, < Pia Kraus > écrivait :
In this message, < Pia Kraus > wrote:

|| How can I prevent users from deleting an autonumber (with a _ref...
|| textmark) which has hyperlinks pointing to it? My users often delete
|| autonumbers (listnum), and then the document contains many, many broken
|| links....
||

In my opinion, the short answer is that you can't. As long as users have
access to the document to edit it, it is almost impossible, without tons of
programming overhead, to prevent them from deleting something.

You could intercept the delete/cut event (EditDelete, EditCut) and the key
Delete key itself and check if the range to be deleted contains a bookmark
or not. But still... what if a user selects some text and types right over
it? The selected text will be gone and there is no real "delete" involved...

I guess you could educate your users, or have the text not to be deleted a
certain colour, and then change the colour before printing with a printing
macro, or flag the text not to be deleted with comments, or if you are using
2003, I hear you can protect ranges of text (not just sections), but if
users do not have 2003, what then? Or... there are workaround you can figure
out with a bit of imagination, but none will be foolproof!

Maybe someone will come along with a "tricky" solution!

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 
J

John McGhie [MVP - Word]

The only successful way is to send the document back to them, with a note
saying "You have broken the numbering and cross references. Please fix."

Do not say any more than that. :)

When the document does not come back in two days, ask their boss to ask them
for it.

You see, they break it because they do not know how to use Word. They do
not learn to use Word because it means making an effort, and not doing so
costs them nothing.

You need to change that: you need to make "not learning" cost them time and
worry.

Then they won't do it...

I've been doing this for thirty years: that's the ONLY way that works :)

The secret is that people do NOT come to work to do a BAD job. They come to
work to do the very best they can. Sometimes, we do not communicate what
"good" is very well. If nobody else takes using Word properly, and
management doesn't, then people wonder if they should spend the company's
time learning to do so. Everyone believes they "don't have time to learn
that". We need to persuade them that they "don't have time NOT to."

Hope this helps


from said:
How can I prevent users from deleting an autonumber (with a _ref...
textmark) which has hyperlinks pointing to it? My users often delete
autonumbers (listnum), and then the document contains many, many broken
links....

Thanks for help
Pia

--

Please respond only to the newsgroup to preserve the thread.

John McGhie, Consultant Technical Writer,
McGhie Information Engineering Pty Ltd
Sydney, Australia. GMT + 10 Hrs
+61 4 1209 1410, mailto:[email protected]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top