Hi there,
I have a number of processes in columns N:U and some are filled in and some aren't for example it could look like this:
Process 1 Process 2 Process 3
Process 2 Process 4 Process 6
Process 1 Process 3 Process 4
There are 40 processes and they when chosen they will sit in order across the columns but a different combination and amount of each process can exist for each row.
What I am trying to do is filter them. So for example if I look for process 1 in columns N:U it will show the 1st and 3rd row.
I have tried this piece of code but it doesn't seem to work and finds nothing even if the process is there.
I have a number of processes in columns N:U and some are filled in and some aren't for example it could look like this:
Process 1 Process 2 Process 3
Process 2 Process 4 Process 6
Process 1 Process 3 Process 4
There are 40 processes and they when chosen they will sit in order across the columns but a different combination and amount of each process can exist for each row.
What I am trying to do is filter them. So for example if I look for process 1 in columns N:U it will show the 1st and 3rd row.
I have tried this piece of code but it doesn't seem to work and finds nothing even if the process is there.
Code:
filterCriteria = InputBox("Please enter what process you're searching for")
Application.ScreenUpdating = False
Worksheets("Risk").Range("N:U").AutoFilter field:=1, Criteria1:=filterCriteria, visibleDropdown:=False
Worksheets("Compliance").Range("N:U").AutoFilter field:=1, Criteria1:=filterCriteria, visibleDropdown:=False
Worksheets("Audit").Range("N:U").AutoFilter field:=1, Criteria1:=filterCriteria, visibleDropdown:=False