K
koreanwarbaby
My worksheet opens halfway down the page. How can I get it to open at the top?
Alternately, you could put code in the Workbook Open event as such:
Private Sub Workbook_Open()
Sheets("sheet1").Select
Range("A1").Select
End Sub
Dave,
I've seen a "Fred" in my family history book. Where's he from? I live in
NW Minnesota, but my clan is from Richland Center, Wisconsin (an hour NW of
Madison).
If I put the cursor at the top, then save, it opens at the top. But this is
inconvenient.
Followed your directions, then had to reduce the security level. When I
enable the macro, I get a "Run-time error '9': Subscript out of range." When
I debug, the second line is highlighted in yellow.
Any help you can give is appreciated!
Dave Peterson said:Fred is a former co-worker in northern Illinois--so maybe...
This line specifies the name of the worksheet.
Sheets("sheet1").Select
Change Sheet1 to the name of the sheet you really want selected when the
workbook opens.
Renaming it was the solution--thanks! I know that Fred Unbehaun is related,
but I've never met him (probably third cousin by now). We have a family
reunion the last Sunday in June in SW Wisconsin, but I don't know if he
comes. I can't make it this year because I'm gonna be a GRANDPA in a couple
of weeks! Bye, Dave!