nickamongo
New Member
- Joined
- May 15, 2018
- Messages
- 6
So I keep getting an error 1004 on this line when I want to filter a drop-down set from cell C4 - any ideas why?
Sub Update()
ActiveWorkbook.RefreshAll
Columns("L:L").EntireColumn.AutoFit
Selection.EntireColumn.Hidden = False
ActiveSheet.Range("$L$4").AutoFilter Field:=1, Criteria1:="FALSE"
ActiveSheet.Range("$C$4").AutoFilter Field:=1, Criteria1:=Array("1. Open", "2. Managed", "In Progress", "Not Started", "Status"), Operator:=xlFilterValues
End Sub
Sub Update()
ActiveWorkbook.RefreshAll
Columns("L:L").EntireColumn.AutoFit
Selection.EntireColumn.Hidden = False
ActiveSheet.Range("$L$4").AutoFilter Field:=1, Criteria1:="FALSE"
ActiveSheet.Range("$C$4").AutoFilter Field:=1, Criteria1:=Array("1. Open", "2. Managed", "In Progress", "Not Started", "Status"), Operator:=xlFilterValues
End Sub