View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.programming
kvdwerf[_2_] kvdwerf[_2_] is offline
external usenet poster
 
Posts: 1
Default Function return a Date, wrong format

Thanks.
But this definitely is not sufficient. Try this in a cell

=TestNestedDateFunction(TestDateFormat1()),

with


Public Function TestNestedDateFunction(value As Variant) As String
TestNestedDateFunction = IIf(IsDate(value), "IsDate", "No
IsDate")
End Function


This results in a "Not IsDate", except for the third variant
TestDateFormat3.
And I really need an IsDate outcome, as well as a Date-value resultin
from a TestDateFormatX-cal

--
Message posted from http://www.ExcelForum.com