View Single Post
  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Open 2007 Word Docs with zoom and view

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

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


billby wrote:
Can you please confirm normat.dotm is the correct spelling?



"Graham Mayor" wrote:

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
Word MVP web site http://word.mvps.org


billby wrote:
I found this on the MVP site

"How can I make Word open new documents in a certain view (Normal or
Page Layout) or at a specified zoom ratio?"

http://word.mvps.org/FAQs/General/SaveViewAndZoom.htm

Unfortunantly it doesn't appear to work for Word 2007. How can I
force Word to start in the draft view with zoom on at 140%?