Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Document Protection: How can we switch off highlighting by default
Word 2003: Is there a way using VBA to switch off the highlighting that
displays the editable regions of a document ? Shouldn't there be an option to toggle this on/off in the Tools|Options|View menu (in the same way as for normal highlighting)? |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Document Protection: How can we switch off highlighting by default
There is - Tools options view field shading.
-- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Word 2003: Is there a way using VBA to switch off the highlighting that displays the editable regions of a document ? Shouldn't there be an option to toggle this on/off in the Tools|Options|View menu (in the same way as for normal highlighting)? |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Document Protection: How can we switch off highlighting by def
Thanks Graham, but the field shading option works for 'normal'
grey-highlighted fields but not for the pale yellow highlight that comes on with document protection "Graham Mayor" wrote: There is - Tools options view field shading. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Word 2003: Is there a way using VBA to switch off the highlighting that displays the editable regions of a document ? Shouldn't there be an option to toggle this on/off in the Tools|Options|View menu (in the same way as for normal highlighting)? |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Document Protection: How can we switch off highlighting by def
That shading option is toggled by the shading command on the forms toolbar
-- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Thanks Graham, but the field shading option works for 'normal' grey-highlighted fields but not for the pale yellow highlight that comes on with document protection "Graham Mayor" wrote: There is - Tools options view field shading. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Word 2003: Is there a way using VBA to switch off the highlighting that displays the editable regions of a document ? Shouldn't there be an option to toggle this on/off in the Tools|Options|View menu (in the same way as for normal highlighting)? |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Document Protection: How can we switch off highlighting by def
Yes, but I cannot find a way of being able to switch off this shading option
programmatically (via a macro in AutoOpen for example). It is not possible to record the action in a macro and I can't see anything in VBA that'll do it. "Graham Mayor" wrote: That shading option is toggled by the shading command on the forms toolbar -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Thanks Graham, but the field shading option works for 'normal' grey-highlighted fields but not for the pale yellow highlight that comes on with document protection "Graham Mayor" wrote: There is - Tools options view field shading. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Word 2003: Is there a way using VBA to switch off the highlighting that displays the editable regions of a document ? Shouldn't there be an option to toggle this on/off in the Tools|Options|View menu (in the same way as for normal highlighting)? |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Document Protection: How can we switch off highlighting by def
Hi Steve,
This is the magic statement: ActiveWindow.View.ShadeEditableRanges = False or, if the document you want isn't active at the time, use the appropriate Window object variable instead of ActiveWindow. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. On Mon, 2 Jan 2006 08:03:02 -0800, SteveP wrote: Yes, but I cannot find a way of being able to switch off this shading option programmatically (via a macro in AutoOpen for example). It is not possible to record the action in a macro and I can't see anything in VBA that'll do it. "Graham Mayor" wrote: That shading option is toggled by the shading command on the forms toolbar -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Thanks Graham, but the field shading option works for 'normal' grey-highlighted fields but not for the pale yellow highlight that comes on with document protection "Graham Mayor" wrote: There is - Tools options view field shading. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Word 2003: Is there a way using VBA to switch off the highlighting that displays the editable regions of a document ? Shouldn't there be an option to toggle this on/off in the Tools|Options|View menu (in the same way as for normal highlighting)? |
#7
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Document Protection: How can we switch off highlighting by def
Perfect! I owe you a coffee. Thank you. Steve.
"Jay Freedman" wrote: Hi Steve, This is the magic statement: ActiveWindow.View.ShadeEditableRanges = False or, if the document you want isn't active at the time, use the appropriate Window object variable instead of ActiveWindow. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. On Mon, 2 Jan 2006 08:03:02 -0800, SteveP wrote: Yes, but I cannot find a way of being able to switch off this shading option programmatically (via a macro in AutoOpen for example). It is not possible to record the action in a macro and I can't see anything in VBA that'll do it. "Graham Mayor" wrote: That shading option is toggled by the shading command on the forms toolbar -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Thanks Graham, but the field shading option works for 'normal' grey-highlighted fields but not for the pale yellow highlight that comes on with document protection "Graham Mayor" wrote: There is - Tools options view field shading. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Word 2003: Is there a way using VBA to switch off the highlighting that displays the editable regions of a document ? Shouldn't there be an option to toggle this on/off in the Tools|Options|View menu (in the same way as for normal highlighting)? |
#8
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Document Protection: How can we switch off highlighting by def
Ahh, my drink of choice! Just pour it into your modem, I'll catch it
when it comes out. :-) Jay On Mon, 2 Jan 2006 09:59:03 -0800, SteveP wrote: Perfect! I owe you a coffee. Thank you. Steve. "Jay Freedman" wrote: Hi Steve, This is the magic statement: ActiveWindow.View.ShadeEditableRanges = False or, if the document you want isn't active at the time, use the appropriate Window object variable instead of ActiveWindow. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. On Mon, 2 Jan 2006 08:03:02 -0800, SteveP wrote: Yes, but I cannot find a way of being able to switch off this shading option programmatically (via a macro in AutoOpen for example). It is not possible to record the action in a macro and I can't see anything in VBA that'll do it. "Graham Mayor" wrote: That shading option is toggled by the shading command on the forms toolbar -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Thanks Graham, but the field shading option works for 'normal' grey-highlighted fields but not for the pale yellow highlight that comes on with document protection "Graham Mayor" wrote: There is - Tools options view field shading. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Word 2003: Is there a way using VBA to switch off the highlighting that displays the editable regions of a document ? Shouldn't there be an option to toggle this on/off in the Tools|Options|View menu (in the same way as for normal highlighting)? |
#9
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Document Protection: How can we switch off highlighting by def
If this works (ActiveWindow.View.ShadeEditableRanges = False) I'd love to
know how to use it... I tried to add this code to "ThisDocument" inside my project but it slaps me with an error. I have little experience w/programming and could use a little help... Word 03 SP2... UserForm (I'm trying to automatically hide the form field grey shading in a online-form I created.) Thanks in advance! ~JKK "Jay Freedman" wrote: Ahh, my drink of choice! Just pour it into your modem, I'll catch it when it comes out. :-) Jay On Mon, 2 Jan 2006 09:59:03 -0800, SteveP wrote: Perfect! I owe you a coffee. Thank you. Steve. "Jay Freedman" wrote: Hi Steve, This is the magic statement: ActiveWindow.View.ShadeEditableRanges = False or, if the document you want isn't active at the time, use the appropriate Window object variable instead of ActiveWindow. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. On Mon, 2 Jan 2006 08:03:02 -0800, SteveP wrote: Yes, but I cannot find a way of being able to switch off this shading option programmatically (via a macro in AutoOpen for example). It is not possible to record the action in a macro and I can't see anything in VBA that'll do it. "Graham Mayor" wrote: That shading option is toggled by the shading command on the forms toolbar -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Thanks Graham, but the field shading option works for 'normal' grey-highlighted fields but not for the pale yellow highlight that comes on with document protection "Graham Mayor" wrote: There is - Tools options view field shading. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Word 2003: Is there a way using VBA to switch off the highlighting that displays the editable regions of a document ? Shouldn't there be an option to toggle this on/off in the Tools|Options|View menu (in the same way as for normal highlighting)? |
#10
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Document Protection: How can we switch off highlighting by def
Hi Jason,
You can't put a bare line of code like that into ThisDocument or anywhere else. It has to be inside a procedure (a subroutine or function). Exactly which procedure to use depends on when you want it to run. Assuming you want this line of code to run whenever you open a document based on a particular template, you have two choices (http://www.word.mvps.org/FAQs/Macros...ntEvents.htm): - In the ThisDocument area of the template, create a Document_Open() procedure and put the line inside it. - Insert a module in the template, create an AutoOpen() procedure, and put the line inside it. To run the same line when a new document is based on the template, also create a Document_New() or AutoNew() procedure. You may also get some helpful info at http://www.word.mvps.org/FAQs/Macros...csIn15Mins.htm. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. Jason K. wrote: If this works (ActiveWindow.View.ShadeEditableRanges = False) I'd love to know how to use it... I tried to add this code to "ThisDocument" inside my project but it slaps me with an error. I have little experience w/programming and could use a little help... Word 03 SP2... UserForm (I'm trying to automatically hide the form field grey shading in a online-form I created.) Thanks in advance! ~JKK "Jay Freedman" wrote: Ahh, my drink of choice! Just pour it into your modem, I'll catch it when it comes out. :-) Jay On Mon, 2 Jan 2006 09:59:03 -0800, SteveP wrote: Perfect! I owe you a coffee. Thank you. Steve. "Jay Freedman" wrote: Hi Steve, This is the magic statement: ActiveWindow.View.ShadeEditableRanges = False or, if the document you want isn't active at the time, use the appropriate Window object variable instead of ActiveWindow. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. On Mon, 2 Jan 2006 08:03:02 -0800, SteveP wrote: Yes, but I cannot find a way of being able to switch off this shading option programmatically (via a macro in AutoOpen for example). It is not possible to record the action in a macro and I can't see anything in VBA that'll do it. "Graham Mayor" wrote: That shading option is toggled by the shading command on the forms toolbar -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Thanks Graham, but the field shading option works for 'normal' grey-highlighted fields but not for the pale yellow highlight that comes on with document protection "Graham Mayor" wrote: There is - Tools options view field shading. -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org SteveP wrote: Word 2003: Is there a way using VBA to switch off the highlighting that displays the editable regions of a document ? Shouldn't there be an option to toggle this on/off in the Tools|Options|View menu (in the same way as for normal highlighting)? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Default beep when opening document | Microsoft Word Help | |||
Default font size on New document | Microsoft Word Help | |||
How do I default NOT highlighting protected text to edit? | Microsoft Word Help | |||
How do I change the "default" document in Word? | Microsoft Word Help | |||
Default printer for a document | Microsoft Word Help |