J
John Smith
Hi all,
I'm messing around with dates and tried the following off the MS site :-
Dim dteDate As Date
dteDate = #4/5/1999#
Debug.Print day(dteDate)
the day(dteDate) is throwing an error as VBA thinks its referencing and
array.. it should give the value '4'.
any ideas?
JS
I'm messing around with dates and tried the following off the MS site :-
Dim dteDate As Date
dteDate = #4/5/1999#
Debug.Print day(dteDate)
the day(dteDate) is throwing an error as VBA thinks its referencing and
array.. it should give the value '4'.
any ideas?
JS