M
Mohanasundaram
Hi all,
I would like to execute an application from an excel
macro
If (Target.Cells.Column = 1 And Target.Cells.Row <> 1 And
Target.Cells.Text <> "") Then
Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shell")
Set oExec = WshShell.Exec("telnet fleet")
End If
The problem is that the telnet window closes as soon as it
is opened. But if I open notepad it is not closed as soon
as it is opened.
Please tell me where I am going wrong
Regards,
Mohan.
I would like to execute an application from an excel
macro
If (Target.Cells.Column = 1 And Target.Cells.Row <> 1 And
Target.Cells.Text <> "") Then
Dim WshShell, oExec
Set WshShell = CreateObject("WScript.Shell")
Set oExec = WshShell.Exec("telnet fleet")
End If
The problem is that the telnet window closes as soon as it
is opened. But if I open notepad it is not closed as soon
as it is opened.
Please tell me where I am going wrong
Regards,
Mohan.