Change the Zoom Level to 75% on all sheets?

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Code:
Sub foo()
Dim WS As Worksheet
    For Each WS In Worksheets
        WS.Activate
        ActiveWindow.Zoom = 75
    Next WS
End Sub
 
Upvote 0
Try:

Code:
Sub zoomIt()
Dim ws As Worksheet
For Each ws In Worksheets
    ws.Activate
    ActiveWindow.Zoom = 75
Next ws
End Sub
 
Upvote 0
How about being able to set different zoom settings for each sheet in the workbook?
 
Upvote 0
Not sure how You want to do this, but something to play with. Copy both codes into a standard Excel VBE Module

jiuk
Rich (BB code):
Dim x As Long

Sub foo()
' Our WEB Site - www.excel-it.com
x = 10
Dim WS As Worksheet
    For Each WS In Worksheets
        WS.Activate
        ActiveWindow.Zoom = x + (100 / mySizA)
        x = x + mySizA
    Next WS
End Sub
Rich (BB code):
Function mySizA() As Integer
Dim a As Long
Dim vResult
a = Worksheets.Count
vResult = a
mySizA = vResult
End Function
 
Upvote 0

Forum statistics

Threads
1,222,143
Messages
6,164,180
Members
451,880
Latest member
2da

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top