I am trying to create a button in excel that filters Column E. Column E is named Category (on-site, Email, Phone). I want to create three buttons one for On-site, one for Email and another one for Phone.
For example, if I click on On-site, it should show me all on-site questions and same goes for other two buttons.
Sub Button1_Click()
Range("E:E").AutoFilter Field:=1, Criteria1:="phone"
End Sub
With this code, I only see records with Phone and not the ones that are both On-Site and Phone.
Also, it doesn't show me all the questions that are categorized under pre-phone. If there are 20 questions, it filters only 10.
Thanks!