Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Sun, 8 Jan 2006 03:06:41 -0800,    group: microsoft.public.word.vba.customization        back       


ShowFieldCodes   
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
date: Sun, 8 Jan 2006 03:06:41 -0800   author:   Derek Hart

Re: ShowFieldCodes   
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
>
date: Sun, 8 Jan 2006 12:45:14 +0100   author:   Doug Robbins - Word MVP

Re: ShowFieldCodes   
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
>
>
date: Sun, 8 Jan 2006 11:46:00 -0000   author:   Tony Jollans My Forename at My Surname dot com

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us