Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Shell ?
I want to open an app which has a shortcut path similar to "C:\Programe Files\Temp\Temp.exe" "C:\Programes\Temp\Temp2.ws" However Shell does not like this ? -- ceemo ------------------------------------------------------------------------ ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650 View this thread: http://www.excelforum.com/showthread...hreadid=561050 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Shell ?
Sub Macro1()
x = Shell("cmd.exe /c C:\Programes\Temp\Temp2.ws", 1) End Sub By using cmd.exe you do not have to start the application. cmd knows which application to start to process Temps.ws -- Gary's Student "ceemo" wrote: I want to open an app which has a shortcut path similar to "C:\Programe Files\Temp\Temp.exe" "C:\Programes\Temp\Temp2.ws" However Shell does not like this ? -- ceemo ------------------------------------------------------------------------ ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650 View this thread: http://www.excelforum.com/showthread...hreadid=561050 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Shell ?
Try
Shell "C:\Programe Files\Temp\Temp.exe C:\Programes\Temp\Temp2.ws",1 -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "ceemo" wrote in message ... I want to open an app which has a shortcut path similar to "C:\Programe Files\Temp\Temp.exe" "C:\Programes\Temp\Temp2.ws" However Shell does not like this ? -- ceemo ------------------------------------------------------------------------ ceemo's Profile: http://www.excelforum.com/member.php...o&userid=10650 View this thread: http://www.excelforum.com/showthread...hreadid=561050 |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Shell ?
thanks guys i have tried both of these but couldnt get either to work -- ceem ----------------------------------------------------------------------- ceemo's Profile: http://www.excelforum.com/member.php...fo&userid=1065 View this thread: http://www.excelforum.com/showthread.php?threadid=56105 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Shell function | Excel Programming | |||
Shell & VBA | Excel Programming | |||
Shell | Excel Programming | |||
VBE COM Add-in Shell | Excel Programming | |||
Shell | Excel Programming |