if date part day is 1st then......

shutzy

Registered User.
Local time
Today, 00:16
Joined
Sep 14, 2011
Messages
775
I have vba that runs at 08:30 am. I would now like to run vba on the 1st of each month.

how do I do this.

for the time I use

If TimeValue(Me.txtClock) = TimeValue("08:30 AM") Then..........

thank you
 
Something like..
Code:
If Date() = DateSerial(Year(Date()), Month(Date()), 1) Then
 
thank you. perfect as usual
 

Users who are viewing this thread

Back
Top Bottom