Hello guys,
I'm trying to take a range from each sheet and add it into array.
The selected ranges will always be the same size so only the first dimension of the array needs to be redimmed
You can use:
To set an array to be equal to a range, but after that im stuck, if i understand correctly its not possible anymore to add a new range into the array?
I have to add it into a second array and then add them together?
Or is it maybe better to select all of the fields i need and only then push them into an array?
I'm trying to take a range from each sheet and add it into array.
The selected ranges will always be the same size so only the first dimension of the array needs to be redimmed
You can use:
Code:
arrayInQuestion = Range("M1:M30").Value
To set an array to be equal to a range, but after that im stuck, if i understand correctly its not possible anymore to add a new range into the array?
I have to add it into a second array and then add them together?
Or is it maybe better to select all of the fields i need and only then push them into an array?
Last edited: