Partager via


DefaultWebOptions.SaveNewWebPagesAsWebArchives Property (Word)

True for Microsoft Word to save new Web pages using the Single File Web Page (formerly known as Web Archive) format. Read/write Boolean.

Syntax

expression .SaveNewWebPagesAsWebArchives

expression An expression that returns a DefaultWebOptions object.

Remarks

Setting the SaveNewWebPagesAsWebArchives property won't change the format of any saved Web pages. To change their format, you must individually open them and then use the SaveAs method to set the Web page format.

Example

This example enables the SaveNewWebPagesAsWebArchives property so that when Web pages are saved, they are saved using the Single File Web Page format.

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

See Also

Concepts

DefaultWebOptions Object

DefaultWebOptions Object Members