Answers for "vba add month to date"

VBA
0

vba add month to date

MsgBox DateAdd("m", 1, "1995-01-31")         ' 1995-02-28
MsgBox DateAdd("m", -2, "1995-01-31")        ' 1994-11-30
MsgBox DateAdd("yyyy", 2, "1995-01-31")      ' 1997-01-31
Posted by: Guest on February-06-2021

Code answers related to "VBA"

Browse Popular Code Answers by Language