Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
John9210 John9210 is offline
external usenet poster
 
Posts: 41
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
John9210 John9210 is offline
external usenet poster
 
Posts: 41
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
John9210 John9210 is offline
external usenet poster
 
Posts: 41
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Suzanne S. Barnhill Suzanne S. Barnhill is offline
external usenet poster
 
Posts: 33,624
Default 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   Report Post  
Posted to microsoft.public.word.docmanagement
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default 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

Posting Rules

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Zoom kate Microsoft Word Help 1 July 23rd 07 05:44 AM
black stripes when scrolling document in high zoom, 85% shambi Microsoft Word Help 1 April 18th 07 11:17 PM
Zoom newbie New Users 1 November 9th 05 02:04 AM
How to zoom a word document with book fold printing nashi Microsoft Word Help 1 September 8th 05 04:43 PM
Printing a document in zoom mode Arv Microsoft Word Help 2 August 19th 05 05:23 AM


All times are GMT +1. The time now is 01:42 PM.

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"