IrwinHunter
Technical User
Microsoft Excel 97
Windows NT
I am trying to produce a Macro that will open up the solver dialogue box in Excel that already has values input and press O.K.
I have used the 'Record new macro' command and followed the steps nescessary.
However when I try and run the macro the Visula Basic De-bugger comes up with "Compile Error: Sub or Function not defined", the de-bugger highlights the 'SolverOK' function in the VB as the problem.
Does anyone know how I can remedy this? Any help would be greaty appreciated.
Windows NT
I am trying to produce a Macro that will open up the solver dialogue box in Excel that already has values input and press O.K.
I have used the 'Record new macro' command and followed the steps nescessary.
However when I try and run the macro the Visula Basic De-bugger comes up with "Compile Error: Sub or Function not defined", the de-bugger highlights the 'SolverOK' function in the VB as the problem.
Does anyone know how I can remedy this? Any help would be greaty appreciated.