VBA Array Function
I have quite a few ranges I need to process. Some of these ranges are
Empty. To save time and memory I need to be "selective" in the line:
myArray=Array(Range("Rng1"),Range("Rng2"),...Range ("Rng100"))
The Array actually will contain the strings: Rng1, Rng2 , Rng3
How can I "customize" The array line so:
If Column A in Rng3 is Empty I do not include it in the array equation.
A Different approach is to check all ranges first and "dynamically"
build the Array line.
Or program myArray to "delete" some of the entries before I pass it to
the consolidate function. ie Resize the array after deleting some items
Some pointers will be greatly appreciated.
|