Skip to content

Latest commit

 

History

History
53 lines (32 loc) · 1.16 KB

Word.Application.DefaultWebOptions.md

File metadata and controls

53 lines (32 loc) · 1.16 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Application.DefaultWebOptions method (Word)
vbawd10.chm158335381
vbawd10.chm158335381
Word.Application.DefaultWebOptions
ee683d3c-b331-cccd-27ec-b3258b42961e
06/08/2017
medium

Application.DefaultWebOptions method (Word)

Returns the DefaultWebOptions object that contains global application-level attributes used by Microsoft Word whenever you save a document as a webpage or open a webpage.

Syntax

expression. DefaultWebOptions

expression Required. A variable that represents an Application object.

Return value

DefaultWebOptions

Example

This example checks to see whether the default setting for document encoding is Western, and then it sets the string strDocEncoding accordingly.

Dim strDocEncoding As String 
 
If Application.DefaultWebOptions.Encoding _ 
 = msoEncodingWestern Then 
 strDocEncoding = "Western" 
Else 
 strDocEncoding = "Other" 
End If

See also

Application Object

[!includeSupport and feedback]