Hello to all,
I have a sheet with a data in range A1:J9. I have a drop down list in each cell from A2:A100.
I'm trying to store all values in A1:J9 in an array using the property CurrentRegion.value like below
The issue is that is taking as current region the range A1:J100, even if I don't have selected any value
in the drop down list from A10:A100.
Is there a way to force CurrentRegion to select only values from A1:J9 ignoring the blanks dropdown list values
or a similar way to load an array with values in a contiguous range?
Thanks in advance for any help.
I have a sheet with a data in range A1:J9. I have a drop down list in each cell from A2:A100.
I'm trying to store all values in A1:J9 in an array using the property CurrentRegion.value like below
Code:
Arr=Range("A1").CurrentRegion.Value
The issue is that is taking as current region the range A1:J100, even if I don't have selected any value
in the drop down list from A10:A100.
Is there a way to force CurrentRegion to select only values from A1:J9 ignoring the blanks dropdown list values
or a similar way to load an array with values in a contiguous range?
Thanks in advance for any help.