Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Autofilter - =string in selected cell
Sub Autofilter()
Selection.AutoFilter Field:=5, Criteria1:= _ "=NPF", Operator:=xlAnd End Sub How can I amend above code to replace NPF with the contents of my active cell (E.g either by Application.InputBox type := ??? or replace NPF by activecell.content ???) Thxs |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
function to reference value selected with autofilter | Excel Worksheet Functions | |||
Applying an AutoFilter to a string | Excel Discussion (Misc queries) | |||
Why does AutoFilter display rows NOT selected from drop down box? | Excel Discussion (Misc queries) | |||
Autofilter selected arrow color | Excel Worksheet Functions | |||
Find out what is selected for AutoFilter | Excel Programming |