Execute an external file in Active X control Button

K

KJ MAN

Hi,
I need excel to execute a file with a .BIN extension.
Shell doesnt seem to work for me.
var = Shell("drive:\fldr1\fldr2\fl-dr-3\file name.bin", 1)
More Specifically what I need is for the command button to run the file
based off of the adjacent cell contents
A B C
-----------------------------------------------------------
1 l Persons name l path of file l COMMAND BUTTON
-----------------------------------------------------------
If you double click the file windows knows what program opens the file
and it will open the program and run the file. I need Excel to perform
the Double-Click so to speak.

Can anyone help?
 

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