Forum Discussion
Excel
May 28, 2022Iron Contributor
Close userform
Hello Everyone,
How to close userform automatically after running the code?
Please help
Here is a attached file
Insert the line
Unload Me
just above the End Sub of for example cmdRunReport_Click and/or cmdAddSheet_Click