Pasting Additional Data to a Database with a MacroLast reviewed: November 29, 1994Article ID: Q31634 |
The information in this article applies to:
SUMMARYYou can use a macro to copy information and add it to the end of an Excel database.
MORE INFORMATIONIf there is data in every cell of the first column of the database, use the following procedure:
If there are some blank cells in the first column of the database, use the following function (where SHEET1 is the name of the worksheet and A1 is the upper-left cell of the database):
=SELECT(OFFSET(SHEET1!A1,ROWS(SHEET1!DATABASE),0))Please note that the database must be defined for this method to work correctly. For alternative methods to add information to a database through a macro, query on:
offset and database and macro and excel |
KBCategory: kbother
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |