Damodar
New Member
Hi,
I have a macro in Excel to run an executable jar file.
As soon as I start this macro it is working fine, but it is displaying a command prompt. I want the jar file to run without the command prompt.
Could you please give a solution for this?
I have a macro in Excel to run an executable jar file.
Code:
Sub Lauch_Web_Fill_()
Dim oShell
Set oShell = CreateObject("Wscript.shell")
oShell.Run "java -jar E:\ConnectToNet.jar"
End Sub
As soon as I start this macro it is working fine, but it is displaying a command prompt. I want the jar file to run without the command prompt.
Could you please give a solution for this?