How make code execute for ANY active workbook?

  • Thread starter Thread starter Chet Shannon
  • Start date Start date
C

Chet Shannon

Is there a way that I can make a given piece of code
execute on ANY spreadsheet that I open? What I mean is I
don't necessarily want to embed the code into one
spreadsheet. I would like the code to automatically
execute for any spreadsheet that I have open.

The code will be a workbook_beforePrint event but I want
this code to execute for ANY active worksheet upon the
workbook_beforePrint event occurring.

Thanks,
Chet
 

Ask a Question

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.

Ask a Question

Back
Top