VBA Read from Excel Launch App to Connect using SSH or SCP

kdwdillson

New Member
Joined
Oct 8, 2017
Messages
3
Please help. Trying to write VBA (beginner). Not working. I have 2 worksheets; servers and password.
I want vba code to launch either putty (SSH) or winscp (SCP) when clicking on either SSH or SCP to right of FQDN. The launched application should connect to that FQDN. In example, if I click on SSH to right of server2.acme.com, it should launch a putty session, connecting to server2.acme.com. Or is I click on SCP to right of server2.acme.com it should launch a winscp session, connecting to server2.acme.com. apps: c:\temp\winscp\winscp.exe & c:\temp\puty\putty.exe.

Please provide vba source code how this will work. Thank you!

I struggled writing vba to read userID&password and passing credential to app.

EnvAppAliasFQDNProtocolProtocol
Prodw1pserver1.acme.comsshscp
PreProdx1ppserver2.acme.comsshscp
Testy1tserver3.acme.comsshscp
Devz1dserver4.acme.comsshscp

<tbody>
</tbody>
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,215,516
Messages
6,125,284
Members
449,218
Latest member
Excel Master

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top