ganesh_6663
04-03-2019, 06:29 AM
Hi team,
I created userform vba to login in to 2 server using putty with one loginbutton ,
Sub puttyserver1
pcmd = D:putty serverip -l demo -pw pass
'
End Sub
Sub puttyserver2
'
pcmd = D:putty serverip -l demo -pw pass
'
End Sub
---------------------------------------------------------------------------------------------------------------------------
I want to login to same server but with Xshell with same loginbutton using combobox (to select between Putty and Xshell)
or anything else which can work with userform vba.
Need to call Sub puttyserver1/Xshellserver1 depending upon combobox selection with same loginbutton.
Sub Xshellserver1
'
'
pcmd = Xshell -newwin ssh
'
'
End Sub
Sub Xshellserver2
'
pcmd = Xshell -newwin ssh
'
End Sub
Any help appreciated :):):):):)
I created userform vba to login in to 2 server using putty with one loginbutton ,
Sub puttyserver1
pcmd = D:putty serverip -l demo -pw pass
'
End Sub
Sub puttyserver2
'
pcmd = D:putty serverip -l demo -pw pass
'
End Sub
---------------------------------------------------------------------------------------------------------------------------
I want to login to same server but with Xshell with same loginbutton using combobox (to select between Putty and Xshell)
or anything else which can work with userform vba.
Need to call Sub puttyserver1/Xshellserver1 depending upon combobox selection with same loginbutton.
Sub Xshellserver1
'
'
pcmd = Xshell -newwin ssh
'
'
End Sub
Sub Xshellserver2
'
pcmd = Xshell -newwin ssh
'
End Sub
Any help appreciated :):):):):)