Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have created a spreadsheet that allows me to click a button that
launches an RDP session from a computer listed in the spreadsheet. I want to be able to highlight a cell with a computer name in it and populate the value where servername appears now. In that way the user only needs to choose the computer name and click the RDP button. Private Sub CommandButton1_Click() Call RDP_Click End Sub Sub RDP_Click() Shell "c:\windows\system32\mstsc /v:servername /f" End Sub How do I modify the line that starts with Shell so that the user launches the session with the value of the highlighted cell in the spreadsheet. In other words, the highlighted cell replaces the "servername" value above. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to Copy the value of a cell to any given cell | Excel Discussion (Misc queries) | |||
copying cell names | Excel Discussion (Misc queries) | |||
cell color index comparison | New Users to Excel | |||
in vba what command is used to determine if a particular cell on a particular sheet changed? some kind of event? how to get the old and new value of the cell? | Excel Worksheet Functions | |||
Copy cell format to cell on another worksht and update automatical | Excel Worksheet Functions |