Jeffington
New Member
- Joined
- Mar 22, 2006
- Messages
- 4
Hi,
I have a drop down list populated with words such as 'Urgent', 'High', 'Medium' etc. I want to be able to choose one of these from a drop down list, then have a macro mapped to a button (I can do that bit) that then filters another column for that chosen word. I've started with Urgent to see if I can get this to work, but I can't even do that. Can anyone help?
I have a drop down list populated with words such as 'Urgent', 'High', 'Medium' etc. I want to be able to choose one of these from a drop down list, then have a macro mapped to a button (I can do that bit) that then filters another column for that chosen word. I've started with Urgent to see if I can get this to work, but I can't even do that. Can anyone help?
Sub Test_Sort_Priority()
'
' Test_Sort_Priority Macro
'
'
Range("G8").Select
If cell.Value = "Urgent" Then
ActiveSheet.Range("$B$13:$P$23").AutoFilter Field:=2, Criteria1:="Urgent"
End If
End Sub