@ Pete: QAT stands for Quick Access Toolbar

@doasidont: How are you calling the macro from QAT? Also which version are you using 2007 or 2010?