Making a macro "auto open"`

  • Thread starter Thread starter JoshMandel
  • Start date Start date
J

JoshMandel

Hello,

I have the following macro, which lets me set the zoom level for a document
to 75%:

Sub View75percent()
'
' View75percent Macro
'
'
ActiveWindow.ActivePane.View.Zoom.Percentage = 75
End Sub

My question is: how can I edit this to make it an "autoopen" macro, so that
it will automatically open all existing documents to this zoom level?

Many thanks,
Josh Mandel
 
Name the macro AutoOpen (instead of View75percent) or add the code to an
existing AutoOpen macro.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org
 
Ah, so simple! Thank you so much!

Josh


Suzanne S. Barnhill said:
Name the macro AutoOpen (instead of View75percent) or add the code to an
existing AutoOpen macro.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
http://word.mvps.org



.
 
Back
Top