Action argument | Description |
|
New Name | A new name for the database object. Enter the object name in the New Name box in the Action Arguments section of the Macro window. This is a required argument. |
Object Type | The type of object you want to rename. Click Table, Query, Form, Report, Macro, or Module. To rename the object selected in the Database window, leave this argument blank. |
Old Name | The name of the object to be renamed. The Old Name box shows all objects in the database of the type selected by the Object Type argument. If you leave the Object Type argument blank, leave this argument blank also.
Note If you run a macro containing the Rename action in a library database, Microsoft Access looks for the object with this name first in the library database, then in the current database. |