Excel: Incorrect Usage of the TEXTREF Function May Return #REFLast reviewed: November 2, 1994Article ID: Q72948 |
SUMMARYThe TEXTREF function was improved in Microsoft Excel version 3.0 to allow the text argument to be specified as a general reference rather than as a full external reference. In versions prior to 3.0, the text argument in the TEXTREF function was required to be stated as a full external reference when it referred to cells off the macro sheet. Therefore, in versions prior to 3.0, referring to cell locations located anywhere other than on the macro sheet that the TEXTREF function is resident on without specifying the worksheet name in the reference will cause the error #REF.
MORE INFORMATIONFor example, if the TEXTREF function is being used to return the value in cell B2 of the active worksheet, where B2 equals 5, the following is true:
For more information on the TEXTREF function, see pages 235-236 of the "Microsoft Excel Function Reference" version 3.0 manual or page 288 of the "Microsoft Excel Functions and Macros" version 2.2 manual.
|
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |