right click the workbook's project title in the project explorerpart of the ve editor, click 'insert', then choose 'module'. Copythe code into the new module.