Hi,
Here is the code:
....
Sheets("test").Range("test") _
.AdvancedFilter Action:=xlFilterCopy, _
CriteriaRange:=Sheets("crt").Range("E11:m12"), _
CopyToRange:=Sheets("destination").Range("A17:BA17"), _
Unique:=False
....
The code won't keep the rows with blank cells in it. That's not what I wanted. I want to keep all the rows that satisfy the Criterion, doesn't matter if they have blank cells in it or not.
I have managed to fill the blank cells with "*", so the rows with "*" got picked up. But I've tried to take the rows without filling "*" but no luck.
Thanks in advance.
Here is the code:
....
Sheets("test").Range("test") _
.AdvancedFilter Action:=xlFilterCopy, _
CriteriaRange:=Sheets("crt").Range("E11:m12"), _
CopyToRange:=Sheets("destination").Range("A17:BA17"), _
Unique:=False
....
The code won't keep the rows with blank cells in it. That's not what I wanted. I want to keep all the rows that satisfy the Criterion, doesn't matter if they have blank cells in it or not.
I have managed to fill the blank cells with "*", so the rows with "*" got picked up. But I've tried to take the rows without filling "*" but no luck.
Thanks in advance.