BrianExcel
Well-known Member
- Joined
- Apr 21, 2010
- Messages
- 975
Hey folks,
I have a large column of info in column D. BUT, there are several duplicates. What I am trying to do is search for the header text, offset that by one row to indicate where the data set actually starts, then filter the duplicates out, caopy the unique records to a new spot and then name the unique range and populate a combo box with them.
BUT, I am having trouble with the "Advanced Filter" code. For some reason I can't get it working, and I wanted to know if someone could define each component of the code so I understand it better..
Could someone help?
Please describe what each of the following are:
xlFilterCopy vs xlFilterInPlace -
CriteriaRange:=
Copy To Range - I think I understand this part, but how do you indicate a named range or a cell on another sheet if you want to move the results?
Unique -
Thanks in advance.
I have a large column of info in column D. BUT, there are several duplicates. What I am trying to do is search for the header text, offset that by one row to indicate where the data set actually starts, then filter the duplicates out, caopy the unique records to a new spot and then name the unique range and populate a combo box with them.
BUT, I am having trouble with the "Advanced Filter" code. For some reason I can't get it working, and I wanted to know if someone could define each component of the code so I understand it better..
Could someone help?
Please describe what each of the following are:
xlFilterCopy vs xlFilterInPlace -
CriteriaRange:=
Copy To Range - I think I understand this part, but how do you indicate a named range or a cell on another sheet if you want to move the results?
Unique -
Thanks in advance.