Link to home
Start Free TrialLog in
Avatar of Seamus2626
Seamus2626Flag for Ireland

asked on

Is today beginning of month?

Hi,

I need a piece of code to put in my workbook open that says

if today = 1st day of month call sub xyz

Anyone any ideas?

Thanks
Seamus
Avatar of Runrigger
Runrigger
Flag of United Kingdom of Great Britain and Northern Ireland image

=if(TEXT(today(),"d")="1",do this, else do that)
ASKER CERTIFIED SOLUTION
Avatar of Runrigger
Runrigger
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
and finally Seamus.....

If Day(Now())=1 then .....
Avatar of Seamus2626

ASKER

Thanks Runrigger!