Macro - Zoom

A

Alfons

Hello,

Is there a macro command that will make all sheets in the
WORKBOOK to View > Zoom to 80 or 90, etc.

Thanks in advance.
 
F

Frank Kabel

Hi
try the following macro
sub zoom_it()
dim wks as worksheet
dim old_wks as worksheet
set old_wks = activesheet

for each wks in activeworkbook.worksheets
wks.activate
activewindow.zoom = 80
next
old_wks.activate
end sub
 

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