Anyone knows if there is a built-in-function in VBA checking if an array has zero length or not.
I have tried:
* LBound - Creates an error if the array is zero length which I want to avoid
* IsArray() - Always TRUE indpendent of zero length or not
* InNull() - Always FALSE indpendent of zero length or not
I have written a function bQuery_ArrayZeroLength() using LBound() with error handling which works. Code pasted below. I just want to know if there is a built-in-function for this.
Run Sub MyTest() below to execute code.
Bookmarks