Export (0) Print
Expand All
Expand Minimize

FPHTMLStyleSheet Object

Office 2003
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)

Parent Objects

© 2014 Microsoft