The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills. SUMMARYYou can delete objects programmatically by using either the Delete method or the DeleteObject method. You can also use the DeleteObject action in macros. MORE INFORMATION
The Delete method applies to the QueryDefs and TableDefs collections and can be used to delete queries and tables. The Delete method does not apply to the Containers collection and cannot be used to delete objects such as forms or reports.
REFERENCESFor more information about the Delete method, in the Visual Basic Editor, click
Microsoft Visual Basic Help on the Help menu, type "Delete method" in
the Office Assistant or the Answer Wizard, and then click Search to
view the topic. Additional query words:
Keywords : kbprg kbdta PgmObj |
Last Reviewed: June 10, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |