Use the Object Browser to paste a method or property syntax into a module

Use the Object Browser to paste a method or property syntax into a module

  1. Select the method or property in the Object Browser.

  2. In the bottom section of the Object Browser, select the syntax you want to paste.

  3. Click Copy To Clipboard in the Object Browser.

  4. Click in the Code window of the module where you want to paste the name.

  5. Click Paste on the toolbar.

Microsoft Access pastes the method or property syntax into the module.

Note   After pasting syntax for Sub procedures, you need to remove any parentheses surrounding placeholders in the syntax.