Excel: INPUT() Function Storing a ReferenceLast reviewed: November 29, 1994Article ID: Q24630 |
SUMMARYWhen selecting a group of cells within an Input dialog box whose type is 8, the reference of the selection is displayed in the dialog box. However, when using the input results in another command in the macro, the reference is not seen as text and does not calculate properly. To use the reference later, it must be saved as a text string. To save it as a text string when you run the macro, perform the following steps:
=SET.NAME("ref",INPUT("Select a cell",8))"ref" could then be used in later macro commands in place of a reference to the INPUT() function.
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |