FPHTMLStyleSheet Object

Microsoft FrontPage Visual Basic

FPHTMLStyleSheet Object

FPHTMLStyleSheet Multiple objects

Represents a cascading style sheet reference in an HTML document. See also the IHTMLStyleSheet object.

Using the FPHTMLStyleSheet object

Use the styleSheets property to return an FPHTMLStyleSheetsCollection collection that represents a collection of all the cascading style sheets referenced in a document. Use the Item method to return an FPHTMLStyleSheet object that accesses a specific cascading style sheet, referenced by ordinal number or by the value of the id attribute. The following example accesses the first cascading style sheet in the active document.

    Dim objStyleSheet As FPHTMLStyleSheet

Set objStyleSheet = ActiveDocument.styleSheets.Item(0)