I am using Office 2003 on Windows XP.
I recorded code to turn off "Markup View" and it returned the following:
WordBasic.ViewChanges
I highlighted "ViewChanges" and help said: Keyword not found
I need a simple line of code that ALWAYS turns "Markup View" off (i.e.
sometimes it may be on, sometimes off - the code above is a toggle, so it
doesn't work for me).
Can someone please supply me with a function that will set the current
document to "Print Layout" view without "Markup"? Thanks much in advance for
your assistance.
Jean-Guy Marcil - 21 Aug 2006 22:19 GMT
quartz was telling us:
quartz nous racontait que :
> I am using Office 2003 on Windows XP.
>
[quoted text clipped - 12 lines]
> document to "Print Layout" view without "Markup"? Thanks much in
> advance for your assistance.
Try:
With ActiveWindow.View
.Type = wdPrintView
.ShowRevisionsAndComments = False
End With

Signature
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org