Open 2007 Word Docs with zoom and view

  • Thread starter Thread starter Guest
  • Start date Start date
If you save the commands in an autoopen and an autonew macro in normat.dotm
this will force the setting

Sub AutoOpen()
ActiveWindow.Caption = ActiveDocument.FullName
With ActiveWindow.View
.Type = wdNormalView
.Zoom.Percentage = 140
End With
End Sub

Sub AutoNew
With ActiveWindow.View
.Type = wdNormalView
.Zoom.Percentage = 140
End With
End Sub

Note that draft view is still called normal view in vba and you must set the
view before changing the zoom. The extra line in autoopen puts the filename
and path in the window title bar.
http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Apologies a slip of the fingers - it should be normal.dotm (a hidden file).

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Back
Top