Yeah, not sure if he left it out on purpose or not for the posting. I gave him a UDF to try above for it, but don't see it being called/used at all.

I modified his code some to make it easier to read and removed an extra EndIf