hello,
i am trying to run a solver optimisation through vba 6 excel. but when the execution reaches the declaration of the objective function:
Sheets(working).Range("B63").FormulaArray = _
"=MMULT(MMULT(decision,covarMatrix),TRANSPOSE(decision))"
it gives the following message
"run time error '9' Subscript out of range"
how can i resolve this please?