I'm loading data from a list object into memory with
Can I choose a more efficient data type than Variant?
I need to set the value of one of the columns to 0 in all rows. I can do this with
before loading the range into the array. But isn't it faster to operate directly in the array rather than the worksheet?
When I'm done comparing and modifying the array, I want to insert the 7th column in the array into the 7th column in the sheet. How can I do this efficiently?
Code:
Dim vtArray as Variant
Set vtArray = ActiveSheet.ListObjects(1).DataBodyRange
Can I choose a more efficient data type than Variant?
I need to set the value of one of the columns to 0 in all rows. I can do this with
Code:
Let ActiveSheet.ListObjects(1).ListColumns(7).Value = 0
before loading the range into the array. But isn't it faster to operate directly in the array rather than the worksheet?
When I'm done comparing and modifying the array, I want to insert the 7th column in the array into the 7th column in the sheet. How can I do this efficiently?