Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
in reply to: adam.nagy

Adam,

 

The RunCustomProgram code is called from the Default.ivb file.

 

RCPLocation.png

 

This code was posted by someone on this forum a long time ago(couldn't find the post) and I have been using it for about 8 years.  It makes adding and distributing VBA macros very easy and works in Inventor 2014.  The Default.ivb file is on the network so I can point everyone's Application Options to it.

 

The issue was that someone else was locking the Default.ivb file through use of a macro even though it wasn't showing as read-only as it typically does.  I solved it by having our IT department create a batch file that basically kicks everyone out of the Default.ivb file.  You can also do this manually through Windows MMC by Closing Open Files.  When everyone is out, I can now edit the file.  Thanks for the input.

 

mr_ensing, thanks for the link.  I will check it out.