G
Guest
I have a serious problem in writing an array into a range.
The following code works perfectly when I do not use any Filter.
' arr is an 10x1 array of integers
' Need to write this array in the rows 1~10 in the first column
Range(Cells(1,1),Cells(10,1))=arr
But, if the AutoFilter is activated and some rows are hidden, the data are
written wrongly.
Any clue?
The following code works perfectly when I do not use any Filter.
' arr is an 10x1 array of integers
' Need to write this array in the rows 1~10 in the first column
Range(Cells(1,1),Cells(10,1))=arr
But, if the AutoFilter is activated and some rows are hidden, the data are
written wrongly.
Any clue?