automatic macro

  • Thread starter Thread starter luke
  • Start date Start date
L

luke

I can only get my background vb code to run by activating
a macro with a control (button, etc).
how can I get code to run automatically from excel
startup and continue running in the background?

any help would be great
 
Two ways
change the name of the sub to auto_open
place the code in ThisWorkbook in the sub Workbook_Open
Paul D
 
cheers. great help
-----Original Message-----
Two ways
change the name of the sub to auto_open
place the code in ThisWorkbook in the sub Workbook_Open
Paul D




.
 

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