Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can we dynamically assemble a function or sub name to call a specific one?
I tried a few things based on searches, but came up empty... and feel like I might be over looking something simple.
Just wondering if someone knows of a clever way to do this from an ilogic rule.
Thanks! Curtis
Sub Main 'Type is set in another rule before running this rule Call SharedVariable("Type") & "_Thing" End Sub Sub Left_Thing MsgBox("This is the left sub") End Sub Sub Center_Thing MsgBox("This is the center sub") End Sub Sub Right_Thing MsgBox("This is the right sub") End Sub
Solved! Go to Solution.