Cutomize the zoom to 80%

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Dear all

I have to open a lot of excel files one day, but the view size is not the
same. How can do that the view size will always change to 80% when I open
each file.
 
Hi
you have to put this code into the workbook_open event of these files.
AFAIK there's no other option to achieve this
 
for each ws in worksheets
ws.select
activewindow.zoom=80
next

Further, you can set a print range for each sheet and use
activewindow.zoom=true.
 
Sub setzoom()
Sheets.Select
ActiveWindow.Zoom = 90
Sheet1.Select
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

Back
Top