is there a setting to force documents to open at zoom = 100%?

J

JP

I find it bothersome to open documents and have to always change their zoom
level to 100%. I have tried resizing my Word window so that they would open
at this level, but that does not always work. Is there a
setting/default/option?
 
G

Greg Maxey

I use the following bit of VBA in stored in my Normal template to alwasy
open documents in PrintView and zoomed to best fit. I'm sure you should be
able to adapt it to your specific needs.


Sub AutoOpen()
ActiveWindow.Caption = ActiveDocument.FullName
With ActiveWindow.View
.Type = wdPrintView
.Zoom.PageFit = wdPageFitBestFit
End With
 
J

JP

Thanks for your suggestion. I wish I knew about this discussion group
before, great resource!
 
G

Graham Mayor

That could be why your templates open for me at 139% ;)
Changing
..Zoom.PageFit = wdPageFitBestFit
to
..Zoom.Percentage = 100
would set the zoom to 100%

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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
Joined
Aug 4, 2009
Messages
1
Reaction score
0
Greg, I am able to get this script into my normal.dot template, but I had to add an "End Sub" at the end of it. I have a problem when I open any document with this script in my normal.dot file. I get an error message that says "Object Variable or With Block Variable Not Set". Can you tell me what I'm doing wrong?


Sub AutoOpen()
ActiveWindow.Caption = ActiveDocument.FullName
With ActiveWindow.View
.Type = wdPrintView
.Zoom.PageFit = wdPageFitBestFit
End With


--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top