I want to automate a series of solver operations in a VBA macro in Excel 2016 for mac. However, when I run the macro an error keeps popping up. The error I get is "Sub of function not defined". The code I use is the following.
Sub test_test_test()
'
' test_test_test Macro
'
SolverOk SetCell:="$K$3", MaxMinVal:=3, ValueOf:=-20, ByChange:="$K$3", Engine:=1, EngineDesc:="GRG Nonlinear"
SolverSolve
End Sub
Thanks a lot! Lennart
Solverlibrary?