Making a macro "auto open"`

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
 
S

Suzanne S. Barnhill

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
 
J

JoshMandel

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



.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top