Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
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?
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
execute external program when cell reaches certain value Brendan DJ Murphy Excel Worksheet Functions 0 February 16th 05 05:25 PM
Adding a control button to insert a date in the active cell. Mike Excel Discussion (Misc queries) 2 February 15th 05 06:27 PM
Tool Tip Text for Form control/ Active-X control Freddie[_2_] Excel Programming 0 October 19th 04 04:14 AM
Saving an external file without making it active JENNA Excel Programming 2 January 17th 04 11:51 PM


All times are GMT +1. The time now is 10:20 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"