DefaultWebOptions Property Example
This example checks to see whether the default setting for document encoding is Western, and then it sets the string strDocEncoding
accordingly.
If Application.DefaultWebOptions.Encoding = msoEncodingWestern Then
strDocEncoding = "Western"
Else
strDocEncoding = "Other"
End If