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
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 "Derek Hart" wrote in message news:%23rmReOEFGHA.3064@TK2MSFTNGP10.phx.gbl... > 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 >
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 "Derek Hart" wrote in message news:#rmReOEFGHA.3064@TK2MSFTNGP10.phx.gbl... > 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 > >