View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
KJ MAN KJ MAN is offline
external usenet poster
 
Posts: 1
Default Execute an external file in Active X control Button

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?