다음을 통해 공유


Workbook.WebOptions Property (Excel)

Returns the WebOptions collection, which contains workbook-level attributes used by Microsoft Excel when you save a document as a Web page or open a Web page. Read-only.

Syntax

.WebOptions

A variable that represents a Workbook object.

Example

This example specifies that cascading style sheets and Western document encoding be used when items in the first workbook are saved to a Web page.

Set objWO = Workbooks(1).WebOptions 
objWO.RelyOnCSS = True 
objWO.Encoding = msoEncodingWestern

참고 항목

개념

Workbook Object

Workbook Object Members