Message 1 of 2
Shorten rules with Sub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So what I would like to do is shorten a couple of my rules by using subs but I haven't used them before. I tried looking online for the solution but somehow I keep getting it wrong and I don't know why. It is my understanding that I'd need to use Sub Main() and End Sub, then call this sub whenever necessary. Can there only be one sub main? This sub would need to be called within an If Then statement. How would I name this sub, as I assume this is necessary. Inventor seems to keep telling me that I'm using it wrong so I thought I'd ask around here. Inventor 2022 / Windows 10.