Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/100934

From BetaArchive Wiki

MXL4: Macro Error when You Run a Recorded Solver Macro

The information in this article applies to:

  • Microsoft Excel for the Macintosh, version 4.0


When you run a recorded macro that includes commands from the Microsoft Excel Solver, you may receive a macro error in the first cell of the macro.


This macro error occurs because, when the macro is recorded, the name of the Solver Add-in macro is not enclosed in single quotation marks.


To avoid this macro error, manually remove the filename from each line of recorded macro code.


If your macro code looks like the following

   =Solver Add-in!SOLVER.OK(!$A$3,3,25,(!$A$2))
   =Solver Add-in!SOLVER.SOLVE()

remove the filenames, so that the macro resembles the following:



"User's Guide 2," version 4.0, pages 216-222
"Function Reference," version 4.0, pages 410, 412

Additional query words: 4.00 XL4

Keywords :
Version : MACINTOSH:4.0
Platform : MACINTOSH
Issue type : kbprb
Technology :

Last Reviewed: April 5, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.