The easiest way is to save the workbook as a .xlsx workbook. Excel will display a warning that all macro content will be lost. That is what you want.
Close and reopen the workbook, then add code, and save the workbook as a macro-enabled workbook (.xlsm) again.