The information in this article applies to:
SYMPTOMS
In Microsoft Excel, when you turn on the macro recorder, and use the
Solver Add-in, if you enter a range of cells in the By Changing Cells
box, the recorded macro includes only the last range of cells.
CAUSE
The SOLVER.OK function uses only the last cell in the by_changing
argument. This behavior occurs when you use the Solver Add-in in a
recorded macro, or when you use the SOLVER.OK function in a macro.
This behavior occurs when you use both the Visual Basic language, and the
version 4.0 macro language.
Visual Basic
Version 4.0 Macro
Only the cell C1 reference is recorded (!R1C3 or !$C$1) even though
you entered both A1 and C1 in the By Changing Cells box. If you add a
cell reference to the by_changing arguments in either of the above
examples, only the value of the last cell referenced in the
by_changing argument is changed when you run the macro.
STATUS
Microsoft has confirmed this to be a problem in the Microsoft
products listed at the beginning of this article. This problem was
corrected in Microsoft Excel version 5.0c.
REFERENCES
For an Overview Of Working With Microsoft Excel Solver, choose the
Search button in Help and type:
Additional query words: addins addin
Keywords : |
Last Reviewed: July 29, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |