i have made a form to open an excel workbook which need username and password, when opening workbook.
It works fine, however I just need to click on the close icon on the form and it closes and you have access to the workbook.
Can anyone suggest how not to close form if the icon is pressed