Is there other code in this workbook? The code you have posted is ok.