Hi, I am creating a union for later use (export to CSV). Is there a way to filter the columns before the union WITHOUT copying and pasting to a new sheet.
So...
In the above, can I filter out rows where both 'FATHER'S MOBILE' and 'MOTHER'S MOBILE' are blank?
So...
Code:
With sh.ListObjects("MasterData")
Set rngToSave = Application.Union(.ListColumns("FATHER'S MOBILE").DataBodyRange, _
.ListColumns("CENTRE").DataBodyRange, _
.ListColumns("MOTHER@S MOBILE").DataBodyRange, _
.ListColumns("ADDRESS2").DataBodyRange)
End With
In the above, can I filter out rows where both 'FATHER'S MOBILE' and 'MOTHER'S MOBILE' are blank?