> I recently created a template that uses editing restriction from the
> Protect Document Task Pane. In my code I want to be able to remove
[quoted text clipped - 4 lines]
> to the dialog pop-up which asks if I want to ignore exceptions. This
> is what I want to do in the code.
Try it with a variation on this:
ActiveWindow.View.ShadeEditableRanges
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
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 :-)
dan.KSU@gmail.com - 19 Jan 2007 20:08 GMT
> Try it with a variation on this:
>
> ActiveWindow.View.ShadeEditableRanges
Yes, I tried this. If the document is still protected and I execute:
ActiveWindow.View.ShadeEditableRanges = False,
the shading (highlighting) goes away, however, once I stop protection
the shading reappears grayed.
If I unprotect the document first then execute the above line, nothing
happens.
Good suggestion, but can you think of any others?
Thanks again,
Daniel
dan.KSU@gmail.com - 02 Feb 2007 15:40 GMT