XL: Solver Fails on Worksheet with Apostrophe in File Name

Last reviewed: February 2, 1998
Article ID: Q99366

The information in this article applies to:
  • Microsoft Excel for Windows, versions 3.0, 4.0, 4.0a, 5.0
  • Microsoft Excel for OS/2, version 3.0
  • Microsoft Excel for the Macintosh, versions 3.0, 4.0, 5.0

SYMPTOMS

The Solver add-in macro included with Microsoft Excel returns an error message and fails if you use it on a worksheet that contains an apostrophe (') in the file name.

WORKAROUND

To work around this problem, rename the document so that it does not contain an apostrophe in its name.

MORE INFORMATION

If you try to use Solver on a worksheet that contains an apostrophe in its filename, you receive one of the following error messages.

   Microsoft Excel version 5.0
   ---------------------------

   Set Target Cell must be a single cell on the active sheet.

   Microsoft Excel version 4.0
   ----------------------------

   Set Cell must be a cell on the active sheet

   Microsoft Excel version 3.0 for Windows
   and Microsoft Excel version 3.0 for OS/2
   ----------------------------------------

   Solver: An unexpected internal error occurred ($M$100). Please
   verify that your model is correctly entered and all cells contain
   numeric values. If this does not correct the error, please report
   it to your regular Microsoft Excel support contact.

   Microsoft Excel version 3.0 for the Macintosh
   ---------------------------------------------

   Solver: An unexpected internal error occurred ($M$115). Please
   verify that your model is correctly entered and all cells contain
   numeric values. If this does not correct the error, please report
   it to your regular Microsoft Excel support contact.

REFERENCES

"User's Guide 2," version 4.0, pages 79-113 "Solver User's Guide," version 3.0


Additional query words: 5.00 3.00 4.00 4.00a atp frontline systems
Keywords : kberrmsg kbtool
Version : WINDOWS: 3.0,4.0,4.0a,5.0; MACINTOSH: 3.0,4.0,5.0
Platform : MACINTOSH OS/2 WINDOWS
Issue type : kbprb


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 2, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.