Glory
Well-known Member
- Joined
- Mar 16, 2011
- Messages
- 640
A class module fills an array if there are contents in a source range. What if there are no contents in the source range?
IsEmpty(array) doesn't work.
If array = 0 doesn't work, neither does "Is Nothing" or "Is Empty" with the lower bound index appended.
Can anybody help me out with this? How do I set set a condition to determine whether or not an array has got contents after initialization?
I could just use some indirect method like... checking the source range to see whether there are any rows there or not.
If I have to I will.
IsEmpty(array) doesn't work.
If array = 0 doesn't work, neither does "Is Nothing" or "Is Empty" with the lower bound index appended.
Can anybody help me out with this? How do I set set a condition to determine whether or not an array has got contents after initialization?
I could just use some indirect method like... checking the source range to see whether there are any rows there or not.
If I have to I will.