you put the code in the "ThisWorkbook" module (you'll see it in the VBE
window under your file name - generally on the left hand side of the
screen - if you can't see anything there choose view / project explorer from
the menu)
double click on the ThisWorkbook module and then on the right from the left
hand side drop down box choose Workbook and you'll get a new sub for
Workbook_Open
you put the code in the "ThisWorkbook" module (you'll see it in the VBE
window under your file name - generally on the left hand side of the
screen - if you can't see anything there choose view / project explorer from
the menu)
double click on the ThisWorkbook module and then on the right from the left
hand side drop down box choose Workbook and you'll get a new sub for
Workbook_Open
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.