Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi All, Does anyone know if it is possible (and if so how?) to run a .exe fil from VBA in excel? Specifically, I would like to add a command butto to my worksheet and when it is pressed it runs a .exe file which is i the same folder as the excel workbook. The .exe file will not be use in any way by excel; it will only display information for the user. Any help would be appreciated. Best Regards, Aaro -- Aaron197 ----------------------------------------------------------------------- Aaron1978's Profile: http://www.excelforum.com/member.php...fo&userid=3120 View this thread: http://www.excelforum.com/showthread.php?threadid=54546 |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Shell it
Shell "D:\Program Files\Myob Premier Trial\Myobp.exe", 1 -- HTH Bob Phillips (replace somewhere in email address with googlemail if mailing direct) "Aaron1978" wrote in message ... Hi All, Does anyone know if it is possible (and if so how?) to run a .exe file from VBA in excel? Specifically, I would like to add a command button to my worksheet and when it is pressed it runs a .exe file which is in the same folder as the excel workbook. The .exe file will not be used in any way by excel; it will only display information for the user. Any help would be appreciated. Best Regards, Aaron -- Aaron1978 ------------------------------------------------------------------------ Aaron1978's Profile: http://www.excelforum.com/member.php...o&userid=31201 View this thread: http://www.excelforum.com/showthread...hreadid=545466 |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Look at the Shell function in the VBA help.
RBS "Aaron1978" wrote in message ... Hi All, Does anyone know if it is possible (and if so how?) to run a .exe file from VBA in excel? Specifically, I would like to add a command button to my worksheet and when it is pressed it runs a .exe file which is in the same folder as the excel workbook. The .exe file will not be used in any way by excel; it will only display information for the user. Any help would be appreciated. Best Regards, Aaron -- Aaron1978 ------------------------------------------------------------------------ Aaron1978's Profile: http://www.excelforum.com/member.php...o&userid=31201 View this thread: http://www.excelforum.com/showthread...hreadid=545466 |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Sweet. Thanks chaps -- Aaron197 ----------------------------------------------------------------------- Aaron1978's Profile: http://www.excelforum.com/member.php...fo&userid=3120 View this thread: http://www.excelforum.com/showthread.php?threadid=54546 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Keep Running Tab | Excel Discussion (Misc queries) | |||
Running Add-In from VBA | Excel Discussion (Misc queries) | |||
Running a VBA by ASP | Excel Programming | |||
running a sub | Excel Programming | |||
running a sub | Excel Programming |