start a non microsoft program via a macro in excel

J

JAJOSEPHESQ

I was wondering if it is possible to have a macro in excell that would
start another program, ie. QuickBooks. Currently I know that if you
double click on a QuickBooks file, as long as that extension is
associatied as a QuickBooks file, QuickBooks will automatically start
up. So what I am trying to do is have a macro that will in a sense
allow me to double click on my QuickBooks data file and in turn start
up QuickBooks via my macro in Excel.

Thanks for any help at all on this!

Jeff J.
 
E

Earl Kiosterud

Jeff,

Try the Shell function.

Shell "Quickbooks.exe"

Not sure about the program name for Quickbooks. Look at a shortcut that
starts it (in start menu, or on desktop) for that. Right-click it,
Properties.
 
C

Chip Pearson

Jeff,

Try something like

Shell "start " & QuickBooksFileName

where QuickBooksFileName is the name of the QuickBooks file.

--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
 

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