In Microsoft Access, is there a way in can put the name of the active object in the clipboard, so that I can paste it into code?
Asked
Active
Viewed 51 times
0
-
1What sort of "active" object? Form? Control? And what is your scenario where you need this? – Andre Mar 18 '16 at 11:46
-
@Andre Mainly forms and tables; for example, I may be looking at a table to check something; I then want to put the name of the table into code, therefore I go to the navigation panel, press F2 to select the table name and it says "you cannot rename this object while it is open". – user1546084 Apr 01 '16 at 09:49
1 Answers
1
- Mark (select) the table in question in the Navigation pane
- Press Ctrl+C
- Press Ctrl+V
- Popup opens: Insert table as "Copy of tablename"
- Press Ctrl+C
- Close popup
- Go to code window
- Press Ctrl+V
- Delete leading "Copy of " from inserted text

Gustav
- 53,498
- 7
- 29
- 55