Filter Problem

Nimbo1842

New member
Local time
Today, 15:27
Joined
Mar 17, 2013
Messages
8
:banghead:Morning, I'm trying to find a way to filter a worksheet with one value on two different columns, but failing!

The below code works a treat to filter one column on the correct value

Worksheets("Update").Range("R1").AutoFilter _
field:=18, _
Criteria1:=FilteredOfficer.Value

I struggling to find a way to do it in two columns and unfortunately I'm using Excel 2003 (only until the end of the year).

Columns R and S are populated by officer1 or officer2, on each row the columns will never have duplicate values, however R5 might equal 2053 and S6 might equal 2053. With the code above I can filter R or S on their own to show all results equal to FilteredOfficer.value but can't find a way to do it for both!

Help :confused:
 

Users who are viewing this thread

Back
Top Bottom