ShowFieldCodes

ShowFieldCodes

Post by Derek Har » Mon, 09 Jan 2006 20:06:41


Can I turn off field codes in Word VBA at the application level. I know
about the following code:

Activewindow.View.ShowFieldCodes = False

But is there something like:

Application.View.ShowFieldCodes = False


Thank You,
Derek Hart
 
 
 

ShowFieldCodes

Post by Doug Robbi » Mon, 09 Jan 2006 20:45:14

You can use

Application.Options.PrintFieldCodes=False

but there is no method or datamember for:

Application.Options.ShowFieldCodes

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

 
 
 

ShowFieldCodes

Post by Tony Jolla » Mon, 09 Jan 2006 20:46:00

Hi Derek,

No - it doesn't work that way. You could simulate it either by running
through all the windows or by using application events to switch the setting
on windowactivate.