I'm trying to run a .bat file from VBA.
It runs with any application, but not with glpsol.
The code is below:
Sub Run_Glpk()
Dim Address As String
Dim Comando As Variant
Dim Result As Variant
Address = "C:\Solver\SNP_48\"
Comand = Address & "roda.bat"
Result = Shell(Comand, vbMinimizedFocus)
End Sub
I attach a file ( http://old.nabble.com/file/p29671298/run_glpk.xlsm
run_glpk.xlsm ) with another module (modShellAndWaitSimple) with almost the
same objective.
(One line added)
Can anybody help me?
Thanks,
João Flávio
-----
João Flávio de Freitas Almeida
--
View this message in context:
http://old.nabble.com/Problem-on-running-a-glpsol-.bat-file-from-VBA-tp29671298p29671298.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.
_______________________________________________
Help-glpk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-glpk