VBA - Fit to Screen
Have you ever tried to see a worksheet on your 22" screen and then look to the same report on your laptop, as realize that the worksheet do not fit in the screen?
Well hopefully this will be the answer, for when to build the Dashboard/Report:
Click Alt + F11 to open the VBA Editor
Select sheet that you want to open and fit to screen, and select Worksheet (top left drop down) and, Activate (top left drop down), you should see something like...
Private Sub Worksheet_Activate()
Dim ws As Worksheet
Set ws = Worksheets("Zoom2") ' ~~~ change sheet name as required
ws.Range("a1:Aa1").Select ' ~~~ change range as required
ActiveWindow.Zoom = True
ws.Range("f2").Activate
End Sub
Your worksheet should now adjust itself to the screen where you open it.


.jpg)
