Much better code than mine and a better description. Use this code instead....
"Tom Ogilvy" wrote:
go to the VBE and go to the Thisworkbook module of the workbook.
in the left dropdown select workbook and in the right, select Open (top of
the module dropdowns).
change the formatting or logic to produce the date related name of the sheet
you want to go to.
Private Sub Workbook_Open()
Dim sh as Worksheet
On error resume Next
set sh = ThisWorkbook.Worksheets(format(date,"yyyymmdd"))
On Error goto 0
if not sh is nothing then
sh.Activate
else
with thisworkbook
.worksheets(worksheets.count).Activate
End With
End if
End Sub
Chip Pearson's page on Event
http://www.cpearson.com/excel/events.htm
--
Regards,
Tom Ogilvy
"D" wrote in message
...
Hello.
I have a spreadsheet that has a list of worksheets that are named certain
dates and I would like to create an event that when I open the file it
goes
to that tab according to today's date. It seems fairly easy but I think
that
I'm complicating the problem. Thanks for your help.
--
D