I want to record a macro for advanced filtering . Is that possible?

the scenario: i want a box named "remove filter" and a box named "apply filter".

The apply fiter is based on a criteria with a list on the same worksheet.

Can anyone help me with this?