Massmann05
New Member
- Joined
- Mar 22, 2017
- Messages
- 7
Good Afternoon, been racking my brain on this one for awhile and cannot figure it out. I keep getting a subscript out of range on the second line of code listed below. When I run this code on a regular table it works great, but when ran on a pivot table it wont work. Any help would be greatly appreciated. Thank-you!
Code:
Sheets("~Calcs").Select
ActiveSheet.ListObjects("ptCSV1").Range.AutoFilter Field:=8, Criteria1:="<>0"
Call CSV
Code:
Sheets("~Calcs").Select
ActiveSheet.ListObjects("ptCSV1").Range.AutoFilter Field:=8, Criteria1:="<>0"
Call CSV