XLA routines: EE_IsArray
VBA's IsArray function doesn't work so well, so use this one for a n by n array.
Function EE_IsArray(varArgument As Variant) As Boolean '- takes variant '- returns whether it really is an array. (By checking whether theArray(1,1) exists) 'http://excelexperts.com/xla-routines-eeIsArray for updates on this function On Error GoTo IsNotArray EE_IsArray = True Dim temp temp = varArgument(1, 1) Exit Function IsNotArray: EE_IsArray = False End Function
»
- Nick's blog
- Login or register to post comments
- 2094 reads
Recent comments
5 years 36 weeks ago
6 years 22 weeks ago
6 years 34 weeks ago
6 years 37 weeks ago
6 years 38 weeks ago
6 years 43 weeks ago
6 years 52 weeks ago
7 years 2 days ago
7 years 3 days ago
7 years 3 days ago