I've a very simple function:
Code: Select all
Function END_WAIT(a) As Date
If IsDate(a) Then
END_WAIT = a
Else
END_WAIT = Date()
End if
End Function
Secondly, when I use my function like this
=END_WAIT(F20)
in OpenOffice.org Spreadsheet, and the F20 cell does contain a date, I nevertheless get today's date, i.e. the result of Date(), rather than the date present in the said cell.
What is wrong?