Share via


DefaultWebOptions.SaveNewWebPagesAsWebArchives Property

Excel Developer Reference

True if new Web pages can be saved as Web archives. Read/write Boolean.

Syntax

expression.SaveNewWebPagesAsWebArchives

expression   A variable that represents a DefaultWebOptions object.

Example

In this example, Microsoft Excel determines the settings for saving new Web pages as Web archives and notifies the user.

Visual Basic for Applications
  Sub DetermineSettings()
' Determine settings and notify user.
If Application.DefaultWebOptions.<strong class="bterm">SaveNewWebPagesAsWebArchives</strong> = True Then
    MsgBox "New Web pages will be saved as Web archives."
Else
    MsgBox "New Web pages will not be saved as Web archives."
End If

End Sub

See Also