How to programatically un-highlight editable regions

  • Thread starter Thread starter Sylvain
  • Start date Start date
S

Sylvain

When you protect a document, by default the "highlight the regions I
can edit" checkbox is checked in the task pane, how can I
programatically un-check it. When this checkbox is checked, the
editable regions appear in yellow. I tried doing this:

Selection.GoToEditableRange().HighlightColorIndex =
word.WdColorIndex.wdNoHighlight

but that doesn't seem to be doing anything. If anyone knows how to do
this, please let me know.

Thanks,

sylvain.
 
Hi Sylvain,
When you protect a document, by default the "highlight the regions I
can edit" checkbox is checked in the task pane, how can I
programatically un-check it. When this checkbox is checked, the
editable regions appear in yellow.
If you record a macro, and uncheck that box, what syntax is recorded?

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 :-)
 
Back
Top