Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Please help - Trying to write macro that would open up to a certained named
worksheet (1-31) based on the day of the current month. I have created a formula =DAY(LEFT(NOW(),5)) that calaculates a value. Now I need it to open up the corresponding named sheet. Any help would be appreciated. TIA. |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Without any error checking (all worksheets must exist):
Private Sub Workbook_Open() Worksheets(Format(Day(Date), 0)).Activate End Sub HTH -- AP "Steven" a écrit dans le message de ... Please help - Trying to write macro that would open up to a certained named worksheet (1-31) based on the day of the current month. I have created a formula =DAY(LEFT(NOW(),5)) that calaculates a value. Now I need it to open up the corresponding named sheet. Any help would be appreciated. TIA. |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Ardus - you did it. Thanks. Without the error checking it works beautiful.
Thanks for the quick response. Have a Guinness on me. Cheers "Ardus Petus" wrote: Without any error checking (all worksheets must exist): Private Sub Workbook_Open() Worksheets(Format(Day(Date), 0)).Activate End Sub HTH -- AP "Steven" a écrit dans le message de ... Please help - Trying to write macro that would open up to a certained named worksheet (1-31) based on the day of the current month. I have created a formula =DAY(LEFT(NOW(),5)) that calaculates a value. Now I need it to open up the corresponding named sheet. Any help would be appreciated. TIA. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copy Worksheets from one Workbook to Another | Excel Worksheet Functions | |||
Month Year Date Format | Excel Worksheet Functions | |||
Accounting Month vs. Calendar Month | Excel Worksheet Functions | |||
Opening worksheets in seperate excel tabs | Excel Worksheet Functions | |||
Named dynamic ranges, copied worksheets and graph source data | Charts and Charting in Excel |