ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
JBJosh Brady01/04/2009
I've written a macro in VBA that takes some action every time the user selects either 1 or 2 items with the mouse. It does so by catching the NewSelectionNotify event. Since this code is always running, and takes action often, I want to make sure to optimize it as much as possible.

I know (or think I know anyway) that add-ins are better and more efficient for event handling. Since a VSTA .Net macro is also a compiled .dll, does that mean it is as efficient as an add-in?