A filter is more likely to perform more quickly than using VBA, as mentioned by mintjulep.
Any reason you need to use VBA in this scneario?
If you want a filter, but want it automated, you can look into creating and managing List Objects and Query Tables in Excel VBA.
"But thanks be to God, which giveth us the victory through our Lord Jesus Christ." 1 Corinthians 15:57