Excel: Finding a Date Using FORMULA.FIND() in a MacroLast reviewed: November 29, 1994Article ID: Q33242 |
The information in this article applies to:
SUMMARYTo use =FORMULA.FIND() in a macro where the search date is defined as a name, you will need to use the following macro steps:
=SET.NAME("date",INPUT("Enter a search date:",1)) =FORMULA.FIND(TEXT(date,"m/d/yy"),2,2,1)The first macro step defines a name to be the serial date for a date input by the user. The second macro step converts that date to a proper format and searches for matching values in the active window.
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |