title: VBA Solver Compile Error: Sub or Function not defined
body: <p>I am using office 365 for Mac, with version number 15.32.  </p>
  
  <p>I repeatedly get the "compile error: sub or function not defined" when I try to run the macro that is trying to implement a solver function, which was a previously recorded macro (so I know it is correct).  The error highlights the "SolverOk" part of the code.</p>
  
  <p>I understand that this often occurs when the reference to Solver.xlam is not present, however I have no idea how to do this on the Mac if this is truly the issue.  Attached is a screenshot of what I am trying to achieve.  Does the Solver.xlam thing on the left indicates that it is there?  If so, do you have any idea what the problem is?</p>
  
  <p><a href="https://i.stack.imgur.com/ZeU3t.png" rel="nofollow noreferrer">Screenshot of available references</a></p>
  
  <p><a href="https://i.stack.imgur.com/HQV6o.png" rel="nofollow noreferrer">Screenshot of error + VBA code</a></p>