Thanks Andy.

As for the formatting, I just removed all cell formatting in the master sheet; but regardless, the code works nicely.