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
- 2114 reads
Recent comments
5 years 41 weeks ago
6 years 27 weeks ago
6 years 39 weeks ago
6 years 42 weeks ago
6 years 43 weeks ago
6 years 48 weeks ago
7 years 4 weeks ago
7 years 5 weeks ago
7 years 5 weeks ago
7 years 5 weeks ago