Syntax

expression.RelyOnCSS

expression A variable that represents a WebOptions object.

Remarks

You should set this property to True if your Web browser supports cascading style sheets, as this will give you more precise layout and formatting control on your Web page and make it look more like your document (as it appears in Microsoft Excel).

Example

This example enables the use of cascading style sheets as the global default for the application.

Visual Basic for Applications
Application.WebOptions.RelyOnCSS = True

See also: