J
Jens Lenge
How can I set the active cell for several Excel worksheets from within
Workbook_Open()?
Let's say I have worksheets "Sheet1" and "Sheet2" and want to automatically
scroll to the upper left and activate cell "A4" of Sheet1 and cell "B2" of
Sheet2 at startup (if possible, without visually opening the sheets).
I tried...
Private Sub Workbook_Open()
Worksheets("Sheet1").Range("A4").Select
Worksheets("Sheet2").Range("B2").Select
End Sub
....but that just yields an error. Who can help?
Cheers, Jens
Workbook_Open()?
Let's say I have worksheets "Sheet1" and "Sheet2" and want to automatically
scroll to the upper left and activate cell "A4" of Sheet1 and cell "B2" of
Sheet2 at startup (if possible, without visually opening the sheets).
I tried...
Private Sub Workbook_Open()
Worksheets("Sheet1").Range("A4").Select
Worksheets("Sheet2").Range("B2").Select
End Sub
....but that just yields an error. Who can help?
Cheers, Jens