On Thu, 9 Sep 2010, JoaoFlavio wrote:
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
Commando
Dim Result As Variant Address = "C:\Solver\SNP_48\" Comand = Address & "roda.bat"
Command != Commando ?
Result = Shell(Comand, vbMinimizedFocus) End Sub
-- Michael [email protected] "Pessimist: The glass is half empty. Optimist: The glass is half full. Engineer: The glass is twice as big as it needs to be." _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
