Finding Number Of Days in a month
Hi
try
Sub foo()
Dim date_value As Date
date_value = CDate("01.03.2004")
MsgBox Day(CDate(Month(date_value) + 1 & "-" & "1-" &
Year(date_value)) - 1)
End Sub
you may have to adapt the CDate part to your regional date settings
--
Regards
Frank Kabel
Frankfurt, Germany
Charles wrote:
Hi I need to find uot how many days are in a month in VBA
is there a way of doing this if so can someone help me
please TIA
Charles
|