Viewing Help for the Comment object

One way to learn about a particular object is to look it up in the Help system. Figure 7-14 shows the main help screen for the Comment object. I found this Help screen by typing comment in the VBE Type a Question for Help box. Additional help topics are listed in the VBE task bar.

Figure 7-14: The main help screen for the Comment object.

Using the Help System

The easiest way to get specific help about a particular object, property, or method is to type the word in a code window and press F1. If there is any ambiguity about the word that you typed, you get a dialog box like the one shown in the Figure 7-14.

Unfortunately, the items listed in the dialog box are not always clear, so it may require some trial and error to locate the correct help topic. The dialog box in Figure 7-14 appears when you type Comment and then press F1. In this case, although Comment is an object, it may behave like a property. Clicking the first item displays the help topic for the Comment object; clicking the second item displays the help topic for the Comment property.

Notice that the colored or underlined words are hyperlinks that display additional information. For example, you can click the Properties hyperlink to get a list of all properties for the Comment object. Or click the Methods hyperlink to get a list of the object's methods.

0 0

Post a comment