When I user the user form, I have to:
1) Alt + F11
2) Choose the Form
3) Run
4) Close the Form
5) Go back to Excel
Excel will not allow me to do anything if the form is not closed. Is there anyway to let me put a little icon on ribbon? And keep the user form appear while I am working with Excel?
You’ve got two parts to your question:
Adding an icon to the ribbon: Do you want the macro to be available for all spreadsheets?
Assigning a shortcut to an existing macrosection)Keeping the dialog open: One of the properties of the UserForm is
ShowModal; you can simply set that to false. Alternatively, as per the other answer, you can open it withMyForm.Show vbModeless.Note that the properties of the form also allow you to provide a specific screen position too, so that the form isn’t in the way while you’re working: change
StartUpPositionto0 - Manual, and provide a value forTopandLeft.