Error - iLogic failing to find VBA Module

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good afternoon,
i have a iLogic rule which is using inventorvb.runmacro to call a VBA user form - when i have a mixture of idw files open, some containing the user form & related VBA code and some not, i get an error saying that no VBA module was found in the 'DocumentProject'. i may be wrong, but I believe this stems from the fact that in the VBA project explorer window, the idw files are called 'Documentproject' meaning the rule can't identify which one to call - is there a way of getting inventorvb.runmacro to target an exact 'documentproject' so it always calls the 'documentproject' that contains the VBA code & userform?
Currently, the only way to get the rule to call the userform is close the idw's that don't contain the userform & code.
Many thanks in advance.
Ja