[Solved] Auto filter error application defined or object defined error

bino1121

New member
Trying to run a simple auto filter one for sheet1 and a different filter value on sheet 2. The range for the filter needs to be variable code I wrote is in the photo I don't know why it says this range is not valid. Even when I did Sheets(2).Select or Sheets(1).Select I could not get them to function on there own sheets respectively. View attachment 255
 

Online statistics

Members online
1
Guests online
142
Total visitors
143

Forum statistics

Threads
460
Messages
2,047
Members
2,829
Latest member
betonn
Back
Top