1. errors if there are no rules
2. doesn't like RuleActions "Object doesn't support this property or method." My understanding of this property is that it is a collection of available rule actions. The entire collection is associated with each rule. Each action will be flagged as enabled if it is set as such for specific rule. I expect will have to enumerate the collection and output its identifier and enabled status. Something like:
Dim olRules As Outlook.Rules, olRule As Outlook.Rule, olR As Outlook.RuleActions, olA As RuleAction
Set olRules = Application.Session.DefaultStore.GetRules
For Each olRule In olRules
Set olR = olRule.Actions
For Each olA In olR
Debug.Print olRule.Name, olA.ActionType, olA.Enabled
Next
Next
See docs for ActionType constants https://learn.microsoft.com/en-us/of...ruleactiontype