To: Miss Chievous,
I hadn't thought about that until you brought it up. I often re-size my Word
windows for one thing or another, but when I re-open them I wish they would
open maximized rather than where I left off. So I've add the following macro
to my Normal template.
'
' Every time a document is open based on this template
' The Window is Maximized & the Document is in Print View.
'
Sub AutoOpen()
Application.WindowState = wdWindowStateMaximize
ActiveWindow.View.Type = wdPrintView
ActiveWindow.View.Zoom.PageFit = wdPageFitBestFit
End Sub
Steven Craig Miller
P.S.
To Install a Macro:
Go to VBA editor via Tools > Macro > Visual Basic Editor (or Alt-F11).
Open the Project Explorer (if not open) , the shortcut key is Ctrl-R.
It will have the name “Project.â€
Click on the template where you would like to store your macro.
For example click on “Normal.â€
Insert a new Module with: Insert > Module.
It should have the name Module1.
(You can re-name your new module now or later by clicking on F4, this should
bring up the Properties Window. In the field following “(name)†you can
change the module’s name. Close the Properties window, now the new Module
should have a new name.)
The code window should now be open.
The code window has General & Declarations at the top.
If it is not open, double click on the Module.
Cut and past your macro into the code window.
You can store more than one macro in a module.
To run your macro, go back to your document and click on Alt-F8.
Alt-F8 will bring up the macro menu from which you can pick your macro and
run it.
P.S.S.
This macro is an "Auto-" macro, there is no need to run it. It runs every
time a document is opened.