You can put it in another workbook and then just make sure that this other
workbook is open when you need the code.
Lots of people who need this functionality, put their code into a workbook named
personal.xls and then save that personal.xls into their XLStart folder.
By placing the personal.xls workbook there, it's opened each time you start
excel.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.