SanjayGMusafir
Well-known Member
- Joined
- Sep 7, 2018
- Messages
- 1,513
- Office Version
- 2024
- Platform
- Windows
Hi Experts,
Here comes a new problem. With Excel 2019 for Mac, when you open a file, it doesn't display Customised Macro Buttons.
The workaround is to change the zoom level and they all magically appear.
So I wrote a code to change zoom level of all worksheets in one click. But it seems to be not working. It only changes zoom level of one active window and doesn't move to another sheets. There must be some technical error.
Please help
Here comes a new problem. With Excel 2019 for Mac, when you open a file, it doesn't display Customised Macro Buttons.
The workaround is to change the zoom level and they all magically appear.
So I wrote a code to change zoom level of all worksheets in one click. But it seems to be not working. It only changes zoom level of one active window and doesn't move to another sheets. There must be some technical error.
Please help
Code:
Sub ZoomAll()
'
' ZoomAll Macro
'
' To change zoom value of all windows
Dim wsheet As Worksheet
For Each wsheet In ActiveWorkbook.Worksheets
ActiveWindow.Zoom = 150
ActiveWindow.Zoom = 135
Next wsheet
ActiveWorkbook.Save
End Sub