Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How would I Zoom all sheets to 75% when particular file is opened?
Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Put this in the Workbook_open event of the ThisWorkbook module
Sub zoomem() Sheets.Select With Sheet1 .Activate ActiveWindow.Zoom = 75 .Select End With End Sub -- Don Guillett Microsoft MVP Excel SalesAid Software "Seanie" wrote in message ... How would I Zoom all sheets to 75% when particular file is opened? Thanks |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Call the run Zoom75 subroutine when you open the file and run the Zoom100
subroutine when you close it. Sub Zoom75() Dim CurrWS As Worksheet Dim WS As Worksheet Set CurrWS = ActiveSheet Application.ScreenUpdating = False For Each WS In Worksheets WS.Activate ActiveWindow.Zoom = 75 Next CurrWS.Activate Application.ScreenUpdating = False End Sub Sub Zoom100() Dim CurrWS As Worksheet Dim WS As Worksheet Set CurrWS = ActiveSheet Application.ScreenUpdating = False For Each WS In Worksheets WS.Activate ActiveWindow.Zoom = 100 Next CurrWS.Activate Application.ScreenUpdating = False End Sub -- Rick (MVP - Excel) "Seanie" wrote in message ... How would I Zoom all sheets to 75% when particular file is opened? Thanks |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Don / Rick thanks for your help. Just a Q on yours Rick, what would be
the point in Zooming to 100 when its closed, if it always opens up at 75%? |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Good point.
-- Rick (MVP - Excel) "Seanie" wrote in message ... Don / Rick thanks for your help. Just a Q on yours Rick, what would be the point in Zooming to 100 when its closed, if it always opens up at 75%? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Please help! Print Preview Zoom is Grayed Out...Doesn't zoom. | Excel Discussion (Misc queries) | |||
Zoom in/Zoom out picture | Excel Programming | |||
zoom in &zoom out in VBA User Form | Excel Programming | |||
Can't Zoom | Charts and Charting in Excel | |||
Zoom value | Excel Programming |