Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
how to pass a cell as parameter for an external program?
Hi guys,
I need to pass to an external program the content of a cell to be used as a launch parameter, es: suppose the cell A1 contains "remotePC", I need to launch the external program VNCClient with "remotePC" as parameter, that is equivalent to type "VNCClient remotePC" Is there someone that can help me? I tried associating the cell to an hypertext link; it open the program VNCClient, but the content of the cell is not passed to it. Thanks in advance. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
how to pass a cell as parameter for an external program?
Assuming you're passing the value as a command-line parameter to the
program, use Shell "C:\TestProj\Testexe.exe" & " " & Range("A1").Text Change "C:\TestProj\Testexe.exe" to the full name of your exe program. -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com (email address is on the web site) "maxbell" wrote in message oups.com... Hi guys, I need to pass to an external program the content of a cell to be used as a launch parameter, es: suppose the cell A1 contains "remotePC", I need to launch the external program VNCClient with "remotePC" as parameter, that is equivalent to type "VNCClient remotePC" Is there someone that can help me? I tried associating the cell to an hypertext link; it open the program VNCClient, but the content of the cell is not passed to it. Thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
External cell references using INDIRECT & ADDRESS | Excel Worksheet Functions | |||
Deferring conditional formatting? | Excel Discussion (Misc queries) | |||
Pass or Fail (green or red) criteria for cell? | Excel Discussion (Misc queries) | |||
dynamic external cell reference | Excel Worksheet Functions | |||
execute external program when cell reaches certain value | Excel Worksheet Functions |