Calling in data from a selected cell

A

Alan

Can someone show me how I can replace the text 'ws66' with the contents of
the active cell in the macro below? I want to be able to list all the
workstations in Col A and have the user select the cell of the workstation
they want to connect to and have the text of that cell be fed into the
macro.


Sub RunVNC()

Shell ("C:\Program Files\Hyena\VNC4\vncviewer.exe ws66")

End Sub

TIA, Alan
 

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

Top