Worksheet size control

Dan Wilson

Well-known Member
Joined
Feb 5, 2006
Messages
507
Office Version
  1. 365
Platform
  1. Windows
Good day. I am running Excel out of Office 365 on Windows 10. I have learned how to change the size of a worksheet on my screen to be able to see columns beyond AL11. In my macros I have also included commands to scroll up or down on an existing display. I notice in the macro that commands are present to accomplish that task. I have looked up Scale in Help, but I don't think that has anything to do with altering the view size of a worksheet. Is there a command that I can enter into a macro to change the view size of a worksheet to a generic value at the end of the macro to ensure that the size of a worksheet ends up at a preset value? I appreciate any help.
Thanks, Danno...
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Try:
Code:
ActiveWindow.Zoom = 60

Change the number to suit your needs.
 
Upvote 0
Good day mumps. Thank you for responding. I saw a couple of those commands in my macros after creating them. Thank you,
Danno...
 
Upvote 0

Forum statistics

Threads
1,214,965
Messages
6,122,495
Members
449,088
Latest member
Melvetica

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