I am using same code in three different functions and it's working fine with two of them but with third one it's giving me "Error 1004: AutoFilter method of Range class failed".
I have a long code and I am getting error in this part of the code: -
Code:-
Public Sub XYZ (fcstartdate As Long...