SaveNewWebPagesAsWebArchives Property

Microsoft PowerPoint Visual Basic

Show All

SaveNewWebPagesAsWebArchives Property

       

MsoTrue for Microsoft PowerPoint to save new Web pages as Web archives. Read/write MsoTriState.

MsoTriState can be one of these MsoTriState constants.
msoCTrue Doesn't apply to this property.
msoFalse Saves new Web pages as individual Web pages.
msoTriStateMixed Doesn't apply to this property.
msoTriStateToggle Doesn't apply to this property.
msoTrue Saves new Web pages as Web archives.

expression.SaveNewWebPagesAsWebArchives

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

Remarks

Setting the SaveNewWebPagesAsWebArchives property won't change the format of any currently open Web pages. You must individually save open Web pages and explicitly set the Web page format using the SaveAs method.

Example

This example enables the SaveNewWebPagesAsWebArchives property, so that when new Web pages are saved, they are saved as Web archives.

Sub SetWebOption()
    Application.DefaultWebOptions _
        .SaveNewWebPagesAsWebArchives = True
End Sub