Macro to run on Mon and Tues
Sub Auto_Open()
If Weekday(Date) = 2 _
Or weekday(date) = 3 Then
Call CreateProjStatMenubar
End If
End Sub
salgud wrote:
I'd like this macro to run only on Mon and Tues. This is what I wrote:
Sub Auto_Open()
If Weekday(Now()) = 2 Or 3 Then
Call CreateProjStatMenubar
End If
End Sub
But the macro runs every day. Any suggestions?
--
Dave Peterson
|