Share via


DefaultWebOptions.SaveNewWebPagesAsWebArchives Property

Determines whether Microsoft Office PowerPoint should save new Web pages as Web archives. Read/write.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Property SaveNewWebPagesAsWebArchives As MsoTriState
    Get
    Set
'Usage
Dim instance As DefaultWebOptions
Dim value As MsoTriState

value = instance.SaveNewWebPagesAsWebArchives

instance.SaveNewWebPagesAsWebArchives = value
MsoTriState SaveNewWebPagesAsWebArchives { get; set; }

Property Value

Type: Microsoft.Office.Core.MsoTriState
MsoTriState

Remarks

Setting the SaveNewWebPagesAsWebArchives property will not change the format of any currently open Web pages. You must individually save open Web pages and explicitly set the Web page format by using the SaveAs(String, PpSaveAsFileType, MsoTriState) method.

The value of the SaveNewWebPagesAsWebArchives property can be one of these MsoTriState constants.

Constant

Description

msoFalse

Saves new Web pages as individual Web pages.

msoTrue

Saves new Web pages as Web archives.

Examples

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

See Also

Reference

DefaultWebOptions Interface

DefaultWebOptions Members

Microsoft.Office.Interop.PowerPoint Namespace