I have an excel macro set up to perform advanced filter.
Firstly, I perform an advanced filter to move unique records for two columns (A = Employee, B = Period).
Then, I record another macro to perform advanced filter on the column A to obtain just the unique records.
After recording the code, I tried to run it again and it works (producing the list of filtered results).
But, if i delete the records then run the macro, it does not work and it does not come up with error message, it is just producing blank results.
It seems strange that I have to record the macro again manually and it works, but if the first step of obtaining the records are deleted, then it just produces a blank result.
Can someone please kindly help?
Thanks.
Firstly, I perform an advanced filter to move unique records for two columns (A = Employee, B = Period).
Then, I record another macro to perform advanced filter on the column A to obtain just the unique records.
After recording the code, I tried to run it again and it works (producing the list of filtered results).
But, if i delete the records then run the macro, it does not work and it does not come up with error message, it is just producing blank results.
It seems strange that I have to record the macro again manually and it works, but if the first step of obtaining the records are deleted, then it just produces a blank result.
Can someone please kindly help?
Thanks.