Finding Out Which Property or Method to Use
|Word Developer Reference|
You can use the macro recorder to learn which methods or properties you need to accomplish a task in Microsoft Office Word. The macro recorder is a tool that translates your actions into Microsoft Visual Basic instructions. For example, if you turn on the macro recorder and open a document named "Examples.doc", the macro recorder records an instruction similar to the following.
The Documents property returns the Documents collection and the Open method opens the specified file name. When you are first learning Visual Basic, using the macro recorder can help you learn which properties and methods you need to use to accomplish a task.
For more information, see Revising recorded Visual Basic macros.