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
Doug Robbins - Word MVP - 08 Jan 2006 11:45 GMT
You can use
Application.Options.PrintFieldCodes=False
but there is no method or datamember for:
Application.Options.ShowFieldCodes

Signature
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
> Can I turn off field codes in Word VBA at the application level. I know
> about the following code:
[quoted text clipped - 7 lines]
> Thank You,
> Derek Hart
Tony Jollans - 08 Jan 2006 11:46 GMT
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.
--
Enjoy,
Tony
> Can I turn off field codes in Word VBA at the application level. I know
> about the following code:
[quoted text clipped - 7 lines]
> Thank You,
> Derek Hart