IHTMLStyleSheetRulesCollection Collection
IHTMLStyleSheetRule
IHTMLRuleStyle
Represents a collection of cascading style sheet (CSS) rules.
Using the IHTMLStyleSheetRulesCollection object
Use the rules property to return an IHTMLStyleSheetRulesCollection collection that represents a collection of all the cascading style sheet rules in an attached CSS. Use the Item method to return an IHTMLStyleSheetRule object that accesses a specific CSS rule, referenced by ordinal number. The following example accesses the collection of CSS rules for the first CSS attached to the active document.
Dim objCSS As FPHTMLStyleSheet
Dim objRules As IHTMLStyleSheetRulesCollection
Set objCSS = ActiveDocument.styleSheets(0)
Set objRules = objCSS.rules