Filter date in Excel (by use macro)

I want to filter date in excel in sheet CaseCA and sheet CaseCH.
input.xlsx (11.1 KB)
output.xlsx (10.8 KB)

I have variable for dateCasaCA as string = 01/01/2021
and variable for dateCasaCH as string = 02/05/2021

Condition : I want filter date in sheet CasaCA by date < dateCasaCA (01/01/2021)
and filter date in sheet CasaCH by date < dateCasaCH (02/05/2021) and write it in same file.

Please guide me about it.