Open / Run Application using VBA

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Gurus,
Can someone please tell me what VBA code I would use to open an application
through a macro in Excel. The application I am trying to open will open
another toolbar within Excel (SAPBEX.XLA) and can be accessed through
"C:\Program Files\SAP\FrontEnd\Bw\sapbex.xla". Any guidence would be greatly
appreciated.
Thanks in advance.
 
Hi

Workbooks.Open "C:\Program Files\SAP\FrontEnd\Bw\sapbex.xla"
would do.

HTH. Best wishes Harald
 
Good morning mnvkngs

This sounds like an add-in and needs setting up in Excel. You don't
really need to do this thru VBA 'cos once it's set up it will open with
excel every time.

Go to Tools > Add-Ins, Browse and navigate to the xla file and click
OK. This will put it into the add-ins available list. Make sure it's
checked and click OK.

HTH

DominicB
 
Good morning mnvkngs

This sounds like an add-in and needs setting up in Excel. You don'
really need to do this thru VBA 'cos once it's set up it will open wit
excel every time.

Go to Tools > Add-Ins, Browse and navigate to the xla file and clic
OK. This will put it into the add-ins available list. Make sure it'
checked and click OK.

HTH

Dominic
 

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