I am trying to run OpenSolver using a VBA command, but something does not seem to be working.

As the OpenSolver website recommends I populate Solver (NOT OpenSolver) using VBA code. Next, OpenSolver “copies” the Solver inputs – i.e. the cell I am trying to maximize/minimize, edit cells, constraints, etc…

I use OpenSolver and not Solver because my model has more than 200 variables.

When I run OpenSolver through the ribbon menu everything works out correctly.

Instead of using the ribbon menu I just need a snipped of code to do that actual run command through VBA.

I follow the instruction in the link below but still nothing.

http://opensolver.org/opensolver-api...#RunOpenSolver

Any ideas?