Partager via


DefaultWebOptions.SaveNewWebPagesAsWebArchives Property (PowerPoint)

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

Syntax

expression .SaveNewWebPagesAsWebArchives

expression A variable that represents a DefaultWebOptions object.

Return Value

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 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.

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

See Also

Concepts

DefaultWebOptions Object

DefaultWebOptions Object Members