I have a registration form that appears as soon as we open the worksheet. The registration list (in the sheets) is invisible and can only be accessed by password when clicking the "Database" button. However, when a person accesses it for the first time on their machine, the Excel warning appears to enable the macros, and the contents of the worksheet (in the sheets) ends up being exposed to the user. I would like only one warning sheet to appear, in order to open the form only if it enables the macros before. I already created it with the guidelines and I left it in VeryHidden, but wanted to know what the code would be to put in ThisWorkbook. I think it would be in Workbook_BeforeClose.
Would anyone help?