@tiffle beat me by a few minutes, but here’s something I just put together real quick as a test... it works well for me in my limited testing.
That being said, the link he provided is to a macro built by a KM legend (who sadly, has since passed away), so his macro is no doubt, much more eloquent than mine.