How to prevent my Macro from opening up another Excel App when I open any other excel file

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

HI:

I created an Excel VBA (VBATest.xls) and I put the xls file in the
XLStart Directory and whenever I load other excel file, I can run the
macro that is defined in my VBATest.xls file. The only problem is when
I load any excel file, it also opens up another blank excel
application (which says VBTest.xls). I think there is a way to prevent
that to startup while the sub function in my VBATest.xls is still
available to other excel files. Any ideas?

Thank you.

Peter
 
Hi
i would either put this macro in your personal.xls file or create an
addin (*.xla file)
 

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