Share via


UnderlineHyperlinks Property [Access 2003 VBA Language Reference]

You can use the UnderlineHyperlink property to specify or determine if hyperlinks within the Application object should be underlined when displayed. Read/write Boolean.

expression.UnderlineHyperlinks

expression Required. An expression that returns one of the objects in the Applies To list.

Remarks

The UnderlineHyperlink property uses the following settings.

Setting Visual Basic Description
Yes True (Default) Hyperlinks will be underlined
No False Hyperlinks will not be underlined.

You can set the UnderlineHyperlink property through the DefaultWebOptions property or the SetOption method by using Visual Basic .

You can set or change the underline hyperlink setting in the Web Options dialog box. To display this dialog box, click Options on the Tools menu. Click the General tab and click the Web Pages button.

Use the DefaultWebOptions property to identify or set the Application object's DefaultWebOptions object properties.

Example

The following example displays a message indicating wither hyperlinks will be underlined.

MsgBox "Hyperlinks will be underlined: " & _ 
Application.DefaultWebOptions.UnderlineHyperlinks

Applies to | DefaultWebOptions Object

See Also | DefaultWebOptions Property