Clever macro from Gabe over at Macdrifer, kicking myself for not having thought of this.