Glory
Well-known Member
- Joined
- Mar 16, 2011
- Messages
- 640
I made a post about this a little while back. The responses there aren’t helping me now.
I’m using an array in my code. The array may have contents, or it may not. I need to know how to check to see if the array is initialized, and lacks contents.
All my attempts result in error 9, “Subscript out of range”. Even IsError(myarray(0)) and If IsEmpty(MyArray(0)) result in this same break.
I’m currently checking whether the source of the array is full of contents, but I want to know once and for all how to check if an array has contents.
Please help me figure this out.
I’m using an array in my code. The array may have contents, or it may not. I need to know how to check to see if the array is initialized, and lacks contents.
All my attempts result in error 9, “Subscript out of range”. Even IsError(myarray(0)) and If IsEmpty(MyArray(0)) result in this same break.
I’m currently checking whether the source of the array is full of contents, but I want to know once and for all how to check if an array has contents.
Please help me figure this out.