Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Sylvain
 
Posts: n/a
Default How to programatically un-highlight editable regions

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.

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Cindy M -WordMVP-
 
Posts: n/a
Default How to programatically un-highlight editable regions

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

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Sylvain
 
Posts: n/a
Default How to programatically un-highlight editable regions

Thanks for your reply, I did already, and it doesn't record a single
line..

  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Tony Jollans
 
Posts: n/a
Default How to programatically un-highlight editable regions

This should do it ...

ActiveWindow.View.ShadeEditableRanges = false

--
Enjoy,
Tony


"Sylvain" wrote in message
oups.com...
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.



  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Sylvain
 
Posts: n/a
Default How to programatically un-highlight editable regions

wow, thanks a lot Tony, that worked!!



  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Tony Jollans
 
Posts: n/a
Default How to programatically un-highlight editable regions

My pleasure!

--
Enjoy,
Tony


"Sylvain" wrote in message
oups.com...
wow, thanks a lot Tony, that worked!!



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
template with editable and non-editable areas Paul Page Layout 7 November 26th 05 05:12 PM
How to turn off highlight the regions I can edit? Chris G Microsoft Word Help 0 November 17th 05 03:10 PM
Automatic Comment Highlight EmD Microsoft Word Help 1 May 18th 05 03:27 PM
Templates and Editable regions Daniel Microsoft Word Help 2 March 31st 05 06:38 AM
How to convert editable word doc to editable html in a browser? Clever Ann Microsoft Word Help 1 March 22nd 05 05:18 AM


All times are GMT +1. The time now is 08:49 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"