- Open any module in the Microsoft Visual Basic Editor.
- Click Object Browser on the toolbar.
- In the Project/Library box (the upper-left box), click Access or another library.
- In the Classes box, click the object you're interested in.
- In the Members Of box, click the method or property you want.
View Help on a class, method, event, or property
-
Select the class, method, event, or property and click Help in the Object Browser.
View objects in the Office 2003 Object Library
- In the Microsoft Visual Basic Editor, click References on the Tools menu.
- Select the Microsoft Office 11.0 Object Library check box.
Paste a method or property syntax into a module
- Select the method or property in the Object Browser.
- In the bottom section of the Object Browser, select the syntax you want to paste.
- Click Copy To Clipboard in the Object Browser.
- Click in the Code window of the module where you want to paste the syntax.
- 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.
Display relevant objects, properties, and methods in the Microsoft Visual Basic Editor
You can get assistance while you're writing Visual Basic code. When you type the name of an object, followed by a space or opening parenthesis, Microsoft Access displays a list of relevant objects, properties, and methods that could follow the object name.
-
Open any module in the Microsoft Visual Basic Editor.
-
On the Tools menu, select Options, click the Editor tab, and then select the Auto List Members check box. There are several keys you can use to enter an item from the list into the current line of code.
Key | Effect |
---|---|
TAB | Enters the item |
SPACEBAR | Enters the item followed by a space |
ENTER | Enters the item and moves the cursor to the next line |