The code should be in the workbook if you saved it before closing, unless you have upgraded to Excel 2007 or newer