L
Leo
If I have a date ('VisitDate')then if I need to know how many days in that
particular month from that given date, the following VBA code helps:
Day(DateSerial(Year([VisitDate]), Month([VisitDate]) + 1, 0))
If I need to calculate the number of days in that month before the visit
date, how will I write a straight forward VBA code like the one above?
Could someone please help?
Thanking you in advance
Leo
particular month from that given date, the following VBA code helps:
Day(DateSerial(Year([VisitDate]), Month([VisitDate]) + 1, 0))
If I need to calculate the number of days in that month before the visit
date, how will I write a straight forward VBA code like the one above?
Could someone please help?
Thanking you in advance
Leo