atw: Fwd: Field Shading ...

  • From: tpdhome@xxxxxxxxxx
  • To: austechwriter@xxxxxxxxxxxxx
  • Date: Thu, 11 Jun 2009 09:38:27 +0800

Neil M has come up with the VB goods for turning field shading on and off via macro.


Cheers,
Terry

----- Forwarded message from Neil M -----

If you'd like to post it to the forum, a VB control for field shading (for Word 2003) is:

MyFieldShading = ActiveDocument.ActiveWindow.View.FieldShading
ActiveDocument.ActiveWindow.View.FieldShading = wdFieldShadingNever

The "wdFieldShadingNever" can be replaced with a number, or text can be used, the options are as follows

Never = 0 (WdFieldShadingNever)
Always = 1 (WdFieldShadingAlways)
When selected = 2 (WdFieldShadingWhenSelected)

Cheers,
Neil.

----- End forwarded message -----



Hello Terry,

Greetings from PNG, working in Port Moresby for a few weeks ...

If you'd like to post it to the forum, a VB control for field shading (for Word 
2003) is:

MyFieldShading = ActiveDocument.ActiveWindow.View.FieldShading
ActiveDocument.ActiveWindow.View.FieldShading = wdFieldShadingNever

The "wdFieldShadingNever" can be replaced with a number, or text can be used, 
the options are as follows

Never = 0 (WdFieldShadingNever)
Always = 1 (WdFieldShadingAlways)
When selected = 2 (WdFieldShadingWhenSelected)

Cheers,
Neil.

Other related posts:

  • » atw: Fwd: Field Shading ... - tpdhome