DefaultWebOptions Property

Microsoft Access Visual Basic

expression.DefaultWebOptions

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

Remarks

The DefaultWebOptions property is available by using Visual Basic.

DefaultWebOptions property to identify or set the Application object's DefaultWebOptions object properties. These properties can be used to set or change the default web page settings available 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.

Example

The following example checks to see whether Microsoft Office Web components are downloaded when a saved data access page is displayed and sets the download flag accordingly.

Set objAppWebOptions = Application.DefaultWebOptions
With objAppWebOptions
    If .DownloadComponents = True Then
        strCompDownload = "Loaded"
    Else
        strCompDownload = "Not Loaded"
    End If
End With