WebOptions Property Example
This example specifies that cascading style sheets and Western document encoding be used when items in the active document are saved to a Web page.
Set objWO = ActiveDocument.WebOptions objWO.RelyOnCSS = True objWO.Encoding = msoEncodingWestern