microsoft excel – VBA – How to Delete Hidden Rows Efficiently

I run a list every day that has varying amount of rows, with different values/texts in them. On average, the list is 1000’s of rows long, but I filter it down to about 50. Is there a way to efficiently delete all those other unused rows using VBA? I need them gone for another part of my macro.