Message 1 of 14
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there a way to get the name of the current ilogic rule, when it runs.
Something like this:
'get iLogic addin Dim iLogicAuto As Object iLogicAuto = iLogicVb.Automation 'get collection of rules Dim rules As Object rules = iLogicAuto.rules(ThisApplication.ActiveDocument) 'make sure there are rules in the file If Not (rules Is Nothing) Then For Each rule In rules 'write rule to debugger If rule.Name = ThisRule.Name Then Trace.WriteLine(rule.Name, "iLogic") End If Next End If
Thanks in advance,
Curtis
Solved! Go to Solution.