Klash Ville
Board Regular
- Joined
- Sep 19, 2017
- Messages
- 83
I have the following code:
When running this code, the following error message returns:
Run time error '91':
Object Variable or With Block variable not set
Code:
.Range.AutoFilter Field:=.ListColumns("Type").Index, Criteria1:="=Phone", Operator:=xlAnd, Criteria2:="=Router", Operator:=xlAnd, Criteria3:="=Telecommunications Equipment", Operator:=xlAnd, Criteria4:="=Network Product", Operator:=xlAnd, Criteria5:="=Headset"
When running this code, the following error message returns:
Run time error '91':
Object Variable or With Block variable not set