Mackeral
Board Regular
- Joined
- Mar 7, 2015
- Messages
- 249
- Office Version
- 365
- Platform
- Windows
VBA Code:
Dim Variant_Arguments() as Variant
Call Add_Val( Variant_Arguments, "One","Two")
Function Add_Val(Variant_Arguments, Pararray LINES() as Variant)
Knt = UBcount(Variant_Aruguments)
...
End Function)
The "Knt" lines gives an error message but the test "IsError(UBcount(Variant_Aruguments)" doesn't work.
And how do I know if "Varaint_Arguments" is initialized rather than have to explicitly initialize it in the calling program?