I use an activeworkbook.saveas filename:=..., fileformat:=52 statement in vba to save a book for which i have inserted vba into its Thisworkbook Before_Save event procedure. It's there after the save, but when I close and then re-open the newly created workbook, the vba is no longer present in the ThisWorkbook module. It worked a few weeks ago. Why is the code getting wiped out? Any help would be greatly appreciated, Rick.