Open Each Sheet

DougRobertson

Active Member
Joined
Sep 22, 2009
Messages
334
Office Version
  1. 365
Platform
  1. Windows
Hello,

When preparing a multi-sheet workbook to send, I'd like to have each sheet revert to the Top Left corner, and have cell A1 be active.

I tried Selecting all worksheets, then using

ActiveWindow.ScrollRow = 1
ActiveWindow.ScrollColumn = 1
Range("A1").Select

but while the A1 select works this way, I have to open each sheet separately, then use the Scroll function.

Is there another way to do this?

Failing that, how do I activate each sheet one at a time, starting at the left tab, then working my way across to the right side?

Thanks in advance,

~ Doug
 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
This should work for you:

Code:
Dim ws As Worksheet
 
    For Each ws In Worksheets
        Application.Goto ws.Range("A1")
    Next ws
 
Upvote 0
Very good!

Will this do the same as scrolling to the top left as well, or should I add that.

Also, I'm still a rookie - What does Dim stand for?
 
Upvote 0

Forum statistics

Threads
1,224,502
Messages
6,179,126
Members
452,890
Latest member
Nikhil Ramesh

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