Excel vba login
<p>I have an idea that i'd like to get someones take on. So let's say I have an excel spreadsheet and here is what i'm trying to do. if i have an .xlsx file on my desktop - am i in any way shape or form code it so that when I click on the file, it asks the user to log in before the workbook even opens? the reason why I am asking is because the excel spreadsheet has macros in it. So upon opening the workbook, it firsts prompts the user to enable editing, before any of the ThisWorkbook_OPEN event code gets executed(in which case I hide all the tabs but one empty one, display login form; after loggin in, i show the tabs). Until they click enable editing, they are able to do whatever. Anyone have any ideas how this could be done?</p>