I have some VBA code which prevents an action on the last day of a given month. The dates are in column A
I use:
Now I want the same for the first day of that month. Is there a similar function for the 1st day ?
I use:
VBA Code:
If Not Application.WorksheetFunction.EoMonth(Range("A" & i).Value, 0) = Range("A" & i).Value Then
'do something
End If
Now I want the same for the first day of that month. Is there a similar function for the 1st day ?