XL: SolverGet and Solver.Get Do Not Return ReferencesLast reviewed: February 2, 1998Article ID: Q136736 |
The information in this article applies to:
SYMPTOMSIn Microsoft Excel Visual Basic for Applications, the SolverGet function returns information about the current Solver settings. In the Microsoft Excel 4.0 macro language, the Solver.Get function returns this same information. Both of these functions use the Type_Num argument to specify what information to return. Using SolverGet or Solver.Get with a Type_Num argument of 1 or 4 should return cell references; however, the values in the cells that were referenced are returned instead.
STATUSThis is a known problem in the versions of Microsoft Excel listed at the beginning of this article. This problem was corrected in Microsoft Excel 97 for Windows and Microsoft Excel 98 Macintosh Edition.
MORE INFORMATIONFor example, both Typenum 1 and Typenum 4 return the values in the cells that were referenced in the Solver box instead of the cell references. Typenum 1 should return the reference in the Set Cell box, or the #N/A error value if Solver has not been used on the active sheet; and Typenum 4 should return the reference (as a multiple reference if necessary) in the By Changing Cells box. Note that Typenum 1 and Typenum 4 do correctly return the #N/A error value if Solver hasn't been used on the active sheet.
|
Additional query words: 4.00 4.00a 7.00 5.00 5.00c XL7 XL5 XL4
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |