Pass cell contents to external program as commandline option

  • Thread starter Thread starter Research freak
  • Start date Start date
R

Research freak

I have a need to create an excel spreadsheet that calls "vncviewer.exe"
from links, passing the server name to the program. The external
program is accessed as Z:\vncviewer.exe, and accepts a server in the
form of "Z:\vncviewer.exe servername" with a single space between
them. I can start the program using the insert hyperlink function,
which is useful, but not as automated as I would like. How would I
code a hyperlink to pass the name of the server (the text in the cell
with the hyperlink) to vncviewer as a commandline option?
 
I found an older post that does this almost exactly, using the shell
command. Does anyone have a preference? If so, why? Please help me
understand what the better solution is.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top