Hello All
I hope you can help on this please
I have a drop down list in cell "P2" which allows me to select a value that then triggers a filter with the code shown below.
Question 1 - How can I make this range Dynamic as the rows change daily.
Question 2 - It is possible to put a value in "P2" that causes the filter to "Select All"
I hope you can help on this please
I have a drop down list in cell "P2" which allows me to select a value that then triggers a filter with the code shown below.
Question 1 - How can I make this range Dynamic as the rows change daily.
Question 2 - It is possible to put a value in "P2" that causes the filter to "Select All"
Code:
Sub filterProject()
ActiveSheet.Range("$A$6:$AC$1000").AutoFilter Field:=15, Criteria1:=ActiveSheet.Range("P2").Value
End Sub