Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Set document zoom to 90%
I would like Word to always open with zoom set to 90%. Ive created an
AutoExec macro and AutoOpen macro to do this. However, when I double-click an existing document (with Word closed), Word also creates a blank document1. Apparently because double clicking a document also starts Word. Is there a way I can stop AutoExec from running when I double-click an existing document? The two macros that I use a Sub AutoExec() ' AutoExec Macro ' opens a new document and sets view to 90 percent Documents.Add Template:="Normal", NewTemplate:=False, DocumentType:=0 ActiveWindow.ActivePane.View.Zoom.Percentage = 90 End Sub Sub AutoOpen() ' AutoOpen Macro ActiveWindow.ActivePane.View.Zoom.Percentage = 90 End Sub |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Set document zoom to 90%
On Sun, 1 Jun 2008 08:06:00 -0700, john9210
wrote: I would like Word to always open with zoom set to 90%. I’ve created an AutoExec macro and AutoOpen macro to do this. However, when I double-click an existing document (with Word closed), Word also creates a blank document1. Apparently because double clicking a document also starts Word. Is there a way I can stop AutoExec from running when I double-click an existing document? The two macros that I use a Sub AutoExec() ' AutoExec Macro ' opens a new document and sets view to 90 percent Documents.Add Template:="Normal", NewTemplate:=False, DocumentType:=0 ActiveWindow.ActivePane.View.Zoom.Percentage = 90 End Sub Sub AutoOpen() ' AutoOpen Macro ActiveWindow.ActivePane.View.Zoom.Percentage = 90 End Sub Remove the Documents.Add statement from the AutoExec; as you surmised, it's unnecessary and causes a problem. Even better, remove the AutoExec macro altogether. Instead, make a copy of the AutoOpen macro and rename it to AutoNew. That will execute only when a new blank document is created from Normal.dot. Since that happens automatically when you start Word without an existing document, the two macros together will handle all cases. Besides the zoom, you may want to have your macros set some other values. Have a look at the macros at the end of http://www.gmayor.com/installing_macro.htm. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Set document zoom to 90%
"Jay Freedman" wrote: On Sun, 1 Jun 2008 08:06:00 -0700, john9210 wrote: I would like Word to always open with zoom set to 90%. Ive created an AutoExec macro and AutoOpen macro to do this. However, when I double-click an existing document (with Word closed), Word also creates a blank document1. Apparently because double clicking a document also starts Word. Is there a way I can stop AutoExec from running when I double-click an existing document? The two macros that I use a Sub AutoExec() ' AutoExec Macro ' opens a new document and sets view to 90 percent Documents.Add Template:="Normal", NewTemplate:=False, DocumentType:=0 ActiveWindow.ActivePane.View.Zoom.Percentage = 90 End Sub Sub AutoOpen() ' AutoOpen Macro ActiveWindow.ActivePane.View.Zoom.Percentage = 90 End Sub Remove the Documents.Add statement from the AutoExec; as you surmised, it's unnecessary and causes a problem. Even better, remove the AutoExec macro altogether. Instead, make a copy of the AutoOpen macro and rename it to AutoNew. That will execute only when a new blank document is created from Normal.dot. Since that happens automatically when you start Word without an existing document, the two macros together will handle all cases. Besides the zoom, you may want to have your macros set some other values. Have a look at the macros at the end of http://www.gmayor.com/installing_macro.htm. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. I now have two simple macros, AutoNew and AutoOpen. When I use File/New a blank document opens with the correct zoom. When I double-click an existing document (with word closed) the document opens with the correct zoom. However, when I start word with a program shortcut the blank document does not open with the correct zoom. What do I have to do to fix this? Here are the two macros: Sub AutoNew() ' Set default zoom when a blank document is created from Normal.dot ActiveWindow.ActivePane.View.Zoom.Percentage = 80 End Sub Sub AutoOpen() ' Set default zoom when you create a new document ActiveWindow.ActivePane.View.Zoom.Percentage = 80 End Sub |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Set document zoom to 90%
john9210 wrote:
"Jay Freedman" wrote: On Sun, 1 Jun 2008 08:06:00 -0700, john9210 wrote: I would like Word to always open with zoom set to 90%. I've created an AutoExec macro and AutoOpen macro to do this. [snip] I now have two simple macros, AutoNew and AutoOpen. When I use File/New a blank document opens with the correct zoom. When I double-click an existing document (with word closed) the document opens with the correct zoom. However, when I start word with a program shortcut the blank document does not open with the correct zoom. What do I have to do to fix this? Here are the two macros: Sub AutoNew() ' Set default zoom when a blank document is created from Normal.dot ActiveWindow.ActivePane.View.Zoom.Percentage = 80 End Sub Sub AutoOpen() ' Set default zoom when you create a new document ActiveWindow.ActivePane.View.Zoom.Percentage = 80 End Sub Open Normal.dot itself (using File Open and navigating to the Templates folder). Set the zoom the way you want it, insert and then delete a space character to "dirty" the file, save it, and close. See http://www.word.mvps.org/FAQs/Genera...iewAndZoom.htm for the longer explanation. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Set document zoom to 90%
"Jay Freedman" wrote: john9210 wrote: "Jay Freedman" wrote: On Sun, 1 Jun 2008 08:06:00 -0700, john9210 wrote: I would like Word to always open with zoom set to 90%. I've created an AutoExec macro and AutoOpen macro to do this. [snip] I now have two simple macros, AutoNew and AutoOpen. When I use File/New a blank document opens with the correct zoom. When I double-click an existing document (with word closed) the document opens with the correct zoom. However, when I start word with a program shortcut the blank document does not open with the correct zoom. What do I have to do to fix this? Here are the two macros: Sub AutoNew() ' Set default zoom when a blank document is created from Normal.dot ActiveWindow.ActivePane.View.Zoom.Percentage = 80 End Sub Sub AutoOpen() ' Set default zoom when you create a new document ActiveWindow.ActivePane.View.Zoom.Percentage = 80 End Sub Open Normal.dot itself (using File Open and navigating to the Templates folder). Set the zoom the way you want it, insert and then delete a space character to "dirty" the file, save it, and close. See http://www.word.mvps.org/FAQs/Genera...iewAndZoom.htm for the longer explanation. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. Thanks for your help. I modified the normal.dot like you suggested and it now seems to work fine (little known secrets of Word!!!). I assume I don't really need the AutoNew and AutoOpen macros. Is that correct? |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Set document zoom to 90%
Yes, you will still need those macros, as the setting in Normal.dot will
affect only new Blank Documents. If you use any other templates, you'll need to do the same thing with them. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA "john9210" wrote in message ... "Jay Freedman" wrote: john9210 wrote: "Jay Freedman" wrote: On Sun, 1 Jun 2008 08:06:00 -0700, john9210 wrote: I would like Word to always open with zoom set to 90%. I've created an AutoExec macro and AutoOpen macro to do this. [snip] I now have two simple macros, AutoNew and AutoOpen. When I use File/New a blank document opens with the correct zoom. When I double-click an existing document (with word closed) the document opens with the correct zoom. However, when I start word with a program shortcut the blank document does not open with the correct zoom. What do I have to do to fix this? Here are the two macros: Sub AutoNew() ' Set default zoom when a blank document is created from Normal.dot ActiveWindow.ActivePane.View.Zoom.Percentage = 80 End Sub Sub AutoOpen() ' Set default zoom when you create a new document ActiveWindow.ActivePane.View.Zoom.Percentage = 80 End Sub Open Normal.dot itself (using File Open and navigating to the Templates folder). Set the zoom the way you want it, insert and then delete a space character to "dirty" the file, save it, and close. See http://www.word.mvps.org/FAQs/Genera...iewAndZoom.htm for the longer explanation. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. Thanks for your help. I modified the normal.dot like you suggested and it now seems to work fine (little known secrets of Word!!!). I assume I don't really need the AutoNew and AutoOpen macros. Is that correct? |
#7
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Set document zoom to 90%
Also, the AutoOpen macro takes effect when you open a document that you get from
someone else. Without the macro, that document would open at whatever zoom setting the other person used when they saved it. On Tue, 3 Jun 2008 17:54:38 -0500, "Suzanne S. Barnhill" wrote: Yes, you will still need those macros, as the setting in Normal.dot will affect only new Blank Documents. If you use any other templates, you'll need to do the same thing with them. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA "john9210" wrote in message ... "Jay Freedman" wrote: john9210 wrote: "Jay Freedman" wrote: On Sun, 1 Jun 2008 08:06:00 -0700, john9210 wrote: I would like Word to always open with zoom set to 90%. I've created an AutoExec macro and AutoOpen macro to do this. [snip] I now have two simple macros, AutoNew and AutoOpen. When I use File/New a blank document opens with the correct zoom. When I double-click an existing document (with word closed) the document opens with the correct zoom. However, when I start word with a program shortcut the blank document does not open with the correct zoom. What do I have to do to fix this? Here are the two macros: Sub AutoNew() ' Set default zoom when a blank document is created from Normal.dot ActiveWindow.ActivePane.View.Zoom.Percentage = 80 End Sub Sub AutoOpen() ' Set default zoom when you create a new document ActiveWindow.ActivePane.View.Zoom.Percentage = 80 End Sub Open Normal.dot itself (using File Open and navigating to the Templates folder). Set the zoom the way you want it, insert and then delete a space character to "dirty" the file, save it, and close. See http://www.word.mvps.org/FAQs/Genera...iewAndZoom.htm for the longer explanation. -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. Thanks for your help. I modified the normal.dot like you suggested and it now seems to work fine (little known secrets of Word!!!). I assume I don't really need the AutoNew and AutoOpen macros. Is that correct? |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Zoom | Microsoft Word Help | |||
black stripes when scrolling document in high zoom, 85% | Microsoft Word Help | |||
Zoom | New Users | |||
How to zoom a word document with book fold printing | Microsoft Word Help | |||
Printing a document in zoom mode | Microsoft Word Help |