Shamsuddeen
Active Member
- Joined
- Feb 16, 2002
- Messages
- 292
Hi all!...
I have the following UDF to return the given date with one month advanced.
Function NextMonth(dat as date)
NextMonth = Date(year(dat),month(dat)+1,day(dat))
End Function
But the second line of the UDF gives an error.
Could someone help?
Shamsuddeen
I have the following UDF to return the given date with one month advanced.
Function NextMonth(dat as date)
NextMonth = Date(year(dat),month(dat)+1,day(dat))
End Function
But the second line of the UDF gives an error.
Could someone help?
Shamsuddeen