'Run macro on variable data after filters

Please help me with VBA code, I wanted to apply macro for uneven data. First I want to apply filter and in next blank column I wanna add information about filtered value. Also if filter criteria is nothing then it should proceed to next filter criteria and write my assigned statement to next column.i want to add each filter selection with remarks(which I wanna add in next column)in code itself. I have tried recording macro but due to uneven data it's not working. For example if I've recorded macro for 200 entries and if it turns to 600 then data become wrong. I hope you are getting my query. Please help me with the code or procedure.

I have tried recording macro but it's not working as my data is variable. Every data shows different count of filter criteria but my macro runs for only on recorded cell i.e A1 to A1000



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source