Macro Command to Select Records in an Excel DatabaseLast reviewed: November 30, 1994Article ID: Q70791 |
The information in this article applies to:
SUMMARYIt is often necessary to select all the records in a database. If you select the area with the defined name, DATABASE, all the records plus the field names will be selected. The following macro command will offset from the name of DATABASE to select just the records:
=SELECT(OFFSET(!database,1,0,ROWS(!database)-1,COLUMNS(!database))) REFERENCES"Online Help," version 5.0 "Function Reference," version 4.0, pages 299-300, 387-379 "Function Reference," version 3.0, pages 163-164, 209-210 "Functions and Macros," version 2.1x, pages 320, 348
|
KBCategory: kbprg kbmacro
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |