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

How to disable mouse interaction during VBA macro running?

lzs013
Advocate

How to disable mouse interaction during VBA macro running?

lzs013
Advocate
Advocate

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?

0 Likes
Reply
Accepted solutions (1)
2,655 Views
1 Reply
Reply (1)

BrianEkins
Mentor
Mentor
Accepted solution

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