Hi
one way:
use a second array and insert only the relevant items into this second
array
--
Regards
Frank Kabel
Frankfurt, Germany
I have a 1-D VBA array with 600,000 elements.
For X = 1 To MAX 'Max = 600,000
NumArray(X) = X
Next X
I then go into the array and randomly delete various data in the
elements. Lets say every 3rd element. I would write looping code
around something like NumArray(3) = "", NumArray(6) = "" etc...
I want to be able to redimension the array so that all the elements
with deleted data ("") are removed. So now the array size is only
400,000. How do I this?
Thank-you
---
Message posted from http://www.ExcelForum.com/