Here is my code
Function Blah(InputArray)
If TypeName(InputArray) = "Boolean()" then
Dim outputArray() As Boolean
Elseif TypeName(InputArray) = "Date()" then
Dim outputArray() As Date
End If
I get an error message on the Dim outputArray() As Date line: "Duplicate declaration in current scope"
How do I do what I am obviously trying to do?
Thanks.
Bookmarks