can we pass the value by applying autofilter to a particular coloumn and pass the filter value to a combox userform in excel vba
if it is possible can you please provide the generalized code for the same
EDIT: Code from OP's comment:
Selection.AutoFilter
Range("A:A").Select
ActiveSheet.Range("A1:AL1000").AutoFilter Field:=1, Criteria1:="" & TextBox1.Text & "", Operator:=xlAnd
Range("b1").Select
Range("B:B").Copy
'ActiveCell.CurrentRegion.Select
'ActiveCell.CurrentRegion.Copy
Sheets("Data").Select
Range("B2").Select
ActiveSheet.Paste