Working on a Macro that has several Userforms.
I can find how to have an auto closing Userform for excel but it isn't working for soldiworks.
I'm finding code like this:
Application.OnTime Now + TimeValue("00:00:15"), "close_UserForm"
Private Sub UserForm_Activate()
Application.Wait = (Now + TimeValue("0:00:30"))
Sheet1.Cells(1, 1) = "Yes"
But I can't get it to run with solidworks Macros