How do I filter in vba on more than 2 criteria?
I have a list within a worksheet that populates the first column of cells and can be anything from a single value to 16 values.
I need to filter a seperate worksheet with these values. It currently looks a bit like:
selection.autofilter, criteria1:=worksheet(cellref), operator:=xlor, criteria2:=worksheet(cellref)
but obviously I would want this to go up to a possible 16 references.
It appears though that excel is limited to only 2.
How can I get around this?
Cheers
I have a list within a worksheet that populates the first column of cells and can be anything from a single value to 16 values.
I need to filter a seperate worksheet with these values. It currently looks a bit like:
selection.autofilter, criteria1:=worksheet(cellref), operator:=xlor, criteria2:=worksheet(cellref)
but obviously I would want this to go up to a possible 16 references.
It appears though that excel is limited to only 2.
How can I get around this?
Cheers