Unload/Close/Exit Userform in Excel VBA When the code is written in userform object: Unload me When it is called externally: Unload Userform1 -Change Userform1 to your userform name.
Add items to Combobox in userform VBA Clear the items combobox and then add the items. With Combobox1 .clear .AddItem "SARCS" .AddItem "Excel" .AddItem "VBA" .AddItem "Google Sheets" End With http://www.contextures.com/Excel-VBA-ComboBox-Lists.html
Closing vba userform in Excel Private UserForm_Terminate() End Sub Code under Terminate procedure will be used while using vba form closing. https://bettersolutions.com/vba/userforms/closing.htm