+ Reply to Thread
Results 1 to 4 of 4

To connect to putty through excel macro

  1. #1
    Registered User
    Join Date
    10-30-2015
    Location
    Cochin
    MS-Off Ver
    8
    Posts
    2

    To connect to putty through excel macro

    Hi,

    I'm new to excel macro, and I have this big requirement to complete..

    Requirement:

    1. Connect to putty through excel macro - the login details needs to be passed through excel macro.
    2. Run few commands in putty - these commands also will be added in the excel macro.
    3. Results of the commands needs to be displayed in the excel.

    Basically, on click of a button, it should get connected to putty and run the commands and results should be displayed.

    So the customer will just click the button and see the results populated.

    Any help would be appreciated...!!!

    Thanks,

  2. #2
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: To connect to putty through excel macro

    Putty allows command-line operations, you can do this from VBA via the shell command.
    Alternatively, you can automate SSH telnet through VBA, but that might be more difficult. I have recently looked at this for my own purposes but haven't pursued it yet. Leaving this here to see if you're successful

  3. #3
    Registered User
    Join Date
    10-30-2015
    Location
    Cochin
    MS-Off Ver
    8
    Posts
    2

    Re: To connect to putty through excel macro

    Putty allows command-line operations, you can do this from VBA via the shell command. - Do you have any vba script for the same?

    Thanks,

  4. #4
    Forum Expert JasperD's Avatar
    Join Date
    05-07-2013
    Location
    Netherlands
    MS-Off Ver
    Excel 2016
    Posts
    1,393

    Re: To connect to putty through excel macro

    For example - this opens Putty (assuming it's in C:\Program Files (x86)\Putty)

    Please Login or Register  to view this content.
    Please click the * below if this helps

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Trying to open Putty from Excel which contains list of servers.
    By prabsriv in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-11-2017, 09:55 AM
  2. Replies: 5
    Last Post: 06-09-2014, 03:13 AM
  3. Putty macro help
    By poodlesplumbs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-31-2013, 01:34 AM
  4. Problem connecting to Putty using VB script in Excel macro
    By sourabhhsinha12a in forum Hello..Introduce yourself
    Replies: 1
    Last Post: 02-06-2013, 08:08 PM
  5. Problem connecting to Putty using VB script in Excel macro
    By sourabhhsinha12a in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-06-2013, 02:28 PM
  6. Can someone help how to load putty with excel
    By Ariff57 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-18-2012, 05:12 AM
  7. Get Putty output to variable or save in log file using excel macro
    By shkehar.mgm in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-12-2012, 06:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1