I have a data in array A1:A1000, where the data is in A,B,C,D E fields. Only some of the rows contain data, and it could be: or all fields are filled, or none of them.
I want to copy it in VBA A:A1000, to a new location A1002, but only rows with some data written in fields. All empty won't be copied, so I will get continous rows with data.
I select the array in VBA I still have some data beside a,b,c,d e columns, so i didn't want to use filter.
Copying data is like:
Sheets("sheet-1").Range("A1:A1000").Copy
but not sure how can i paste to A1002 only nonblank rows.
Any thoughts?
I want to copy it in VBA A:A1000, to a new location A1002, but only rows with some data written in fields. All empty won't be copied, so I will get continous rows with data.
I select the array in VBA I still have some data beside a,b,c,d e columns, so i didn't want to use filter.
Copying data is like:
Sheets("sheet-1").Range("A1:A1000").Copy
but not sure how can i paste to A1002 only nonblank rows.
Any thoughts?