ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Zoom Not Resizing (https://www.excelbanter.com/excel-programming/282048-zoom-not-resizing.html)

Phil Hageman[_3_]

Zoom Not Resizing
 
Worksheet "Scorecard" Zoom is manually set at 25%.
Running the below macro does not resize to 61%. Can
someone help correct this code?

Sub GoToScorecard()
Sheets("Scorecard").Select
Range("A1").Select
ActiveWindow.Zoom = 61
End Sub


Jim Rech

Zoom Not Resizing
 
I think your code is okay. It works for me.

--
Jim Rech
Excel MVP



Tom Ogilvy

Zoom Not Resizing
 
It worked fine for me. Do you have the workbook protected?

Does it raise an error.

Tested in xl2000

--
Regards,
Tom Ogilvy

"Phil Hageman" wrote in message
...
Worksheet "Scorecard" Zoom is manually set at 25%.
Running the below macro does not resize to 61%. Can
someone help correct this code?

Sub GoToScorecard()
Sheets("Scorecard").Select
Range("A1").Select
ActiveWindow.Zoom = 61
End Sub




Phil Hageman[_3_]

Thanks.
 
Jim, Thanks for your reply. I closed the workbook,
reopened it, and the code works...go figure. Appreciate
your time.
-----Original Message-----
I think your code is okay. It works for me.

--
Jim Rech
Excel MVP


.



All times are GMT +1. The time now is 10:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com