I want page % at 100 when Word opens

G

gypsy

Word opens with page % at 200. How do I set Word to open at 100%. Windows
XP and Word 2003.
 
G

Graham Mayor

Change the zoom setting -
http://word.mvps.org/FAQs/General/SaveViewAndZoom.htm
or
You can control the zoom with auto macros in normal.dot. The following will
set it to 100% zoom regardless of what the document thinks it should be.
Change the 100 to any preferred zoom level. I have included also some of the
other regular problem fixes, but you can remove the extra lines if required.
If you want normal rather than print layout view swap the apostrophe from
the beginning of the line where indicated to the other.

See http://www.gmayor.com/installing_macro.htm

Sub AutoNew()
ActiveWindow.ActivePane.DisplayRulers = True
ActiveWindow.ActivePane.View.ShowAll = False
ActiveWindow.DisplayHorizontalScrollBar = True
ActiveWindow.DisplayVerticalScrollBar = True
With ActiveWindow.View
'**********************
.Type = wdPrintView
'.Type = wdNormalView
'**********************
.Zoom.Percentage = 100
.DisplayPageBoundaries = True
End With
End Sub

Sub AutoOpen()
ActiveWindow.Caption = ActiveDocument.FullName
ActiveWindow.ActivePane.DisplayRulers = True
ActiveWindow.ActivePane.View.ShowAll = False
ActiveWindow.DisplayHorizontalScrollBar = True
ActiveWindow.DisplayVerticalScrollBar = True
With ActiveWindow.View

'**********************
.Type = wdPrintView
'.Type = wdNormalView
'**********************
.Zoom.Percentage = 100
.DisplayPageBoundaries = True
End With
End Sub

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

My web site www.gmayor.com

<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 
P

Peter T. Daniels

It seems redundant that you need to provide two separate routines for
New and for Opening documents -- is there a reason there isn't a third
option that covers both, since it seems you'd most often want to do
this sort of thing for _any_ document?
 
J

Jay Freedman

You do need two separate macros named AutoNew and AutoOpen, because
one of them runs *only* when you create a new document, and the other
one runs *only* when you open an existing document -- in programming
lingo, they are event handlers for two different events.

You don't have to repeat all the code, though; you can put all the
working parts into a third macro (marked Private so it won't appear in
the Macros dialog), and call that macro from each of the other two.
This is explained at
http://www.word.mvps.org/FAQs/MacrosVBA/ProcArguments.htm.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the
newsgroup so all may benefit.
 
P

Peter T. Daniels

Ah. A solution exists! (The punchline to a joke about the engineer,
the physicist, and the mathematician.)
 
J

Jay Freedman

B-)

I used to be a mathematician, but proof of existence was never quite
satisfying enough so now "I are a engineer".
 

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