Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
lzs013
2655 Views, 1 Reply

How to disable mouse interaction during VBA macro running?

How to disable mouse interaction during VBA macro running?

The code that disables mouse interaction in Excel is:Application.Interactive = False

What is the code in Inventor VBA?

BrianEkins
in reply to: lzs013

Try the UserInteractionDisabled property which is on the UserInterfaceManager object, which you get from the Application object.

ThisApplication.UserInterfaceManager.UserInteractionDisabled = True
---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com