run vb macro on open

P

paddy

Simple query - I am after the VB code, so that on opening
a spreadsheet a macro contained in the spreadsheet is run
automatically.

To explain further, I have a sreadsheet that has three
query's that refresh via a macro and then the macro
continues and closes the spreadsheet. What I need is the
code to invoke this above macro automatically once the
spreadsheet is opened.

Thanks in advance.
 

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

Top