query re selecting text

G

Guest

Hi
Anyone know of a way to select text, that follows hidden text, so that overtyping the selection does not start entering hidden text. E.g. a way to overtype a double-clicked selected word where the new input keeps the font properties of the original word, not of the immediately preceding text.

The best I can do right now is to insert an artificial non-hidden space before th
editable text. This works but it messes up the look of the doc

Thanks in advance
 
G

Graham Mayor

This only seems to be a problem if the hidden text is actually hidden. If
you display it, it appears to work as you require. You can add a macro to a
toolbar to toggle the display

Sub ShowHidden()
With ActiveWindow.View
.ShowHiddenText = Not .ShowHiddenText
End With
End Sub

See http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
Graham Mayor - Word MVP
E-mail (e-mail address removed)
Web site www.gmayor.com
Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
 
G

Guest

Graham
thanks for your suggestion. It won't work though, because the hidden text has to stay hidden. The hidden text consists of a load of ugly-looking, complex XML. We want non-technical document readers to be able to edit the data without going near this metadata, or needing to know anything about it (unless absolutely necessary). I have tried a forms version of the doc, which solves this current problem, but it's less than ideal for other reasons. And I can't start using the built-in XML in Word 2003 (which would solve the problem perfectly) as we have to support versions of 97, 2000 and XP as well

Any other ideas ? What's annoying is that this doesn't seem to happen with other font properties e.g. size. Only with the hidden property

Eoin
 

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