Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Miss Chievous Miss Chievous is offline
external usenet poster
 
Posts: 1
Default Reopening a resized window: make it open with new size automatical

This is a general windows question:

A window is opened, then resized, then closed. Everytime it is opened it is
the old size, necessitating repeated resizing. Sometimes holding down the
Shift key while closing works (upon reopening it is the new size) but often
this does not work.

Any possibilities?

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
StevenM[_2_] StevenM[_2_] is offline
external usenet poster
 
Posts: 169
Default Reopening a resized window: make it open with new size automatical

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 modules 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.

"Miss Chievous" wrote:

This is a general windows question:

A window is opened, then resized, then closed. Everytime it is opened it is
the old size, necessitating repeated resizing. Sometimes holding down the
Shift key while closing works (upon reopening it is the new size) but often
this does not work.

Any possibilities?

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to make word open behind the currently active window? amolina Microsoft Word Help 0 November 30th 06 04:19 PM
note pad docs losing size upon reopening Dave Microsoft Word Help 1 April 11th 06 11:03 AM
Can you make the date field on a fax coversheet update automatical jena Microsoft Word Help 2 March 7th 06 09:47 AM
How to change default window open size? MrsTrajan Microsoft Word Help 3 January 11th 06 03:53 PM
How do I open a window full size rather than minimized? Chuck Microsoft Word Help 1 April 26th 05 04:45 AM


All times are GMT +1. The time now is 02:11 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"