M
Mike
Good Morning All,
Using Windows XP and Excel XP.
I have a workwork that contains 31 sheets (one for each day of the month)
and I have it programmed to open up
to the previous days date. For example if I open the January workbook it
would open up sheet Jan30. Here is the
code to do that:
Private Sub Workbook_Open()
On Error Resume Next
Sheets(Format(Date - 1, "mmmd")).Activate
On Error GoTo 0
How can I add for the active sheet tab to be colored red, while the rest
have no color?
Thank you in advance,
Michael
Using Windows XP and Excel XP.
I have a workwork that contains 31 sheets (one for each day of the month)
and I have it programmed to open up
to the previous days date. For example if I open the January workbook it
would open up sheet Jan30. Here is the
code to do that:
Private Sub Workbook_Open()
On Error Resume Next
Sheets(Format(Date - 1, "mmmd")).Activate
On Error GoTo 0
How can I add for the active sheet tab to be colored red, while the rest
have no color?
Thank you in advance,
Michael