[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-glpk] Problem on running a glpsol .bat file from VBA
From: |
JoaoFlavio |
Subject: |
[Help-glpk] Problem on running a glpsol .bat file from VBA |
Date: |
Thu, 9 Sep 2010 13:49:48 -0700 (PDT) |
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] Problem on running a glpsol .bat file from VBA,
JoaoFlavio <=