zoom to range

  1. R

    VBA Zoom to Selection

    I have the following code to try to zoom to a selection dependent on the worksheet being opened: zArea = "A1:" & Range("BA6").value (Sets String zArea to A1: and the last cell in range as given in cell BA6 on each worksheet) Range(zArea).Select ActiveWindow.Zoom = True The problem I...
  2. R

    ZoomtoRange

    Hi, Could somebody please tell me how to zoom to a range in vba. The code that I have at the moment seems to be incorrect. Sub zoom_to_complete_spend_rate() ' ' zoom_to_complete_spend_rate Macro ' ActiveWindow.ZoomToRange = "to_complete_spend_rate" End Sub Thank you, J

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