Hello Speedy,Hi,
I added the entry: Administrator
ComboBox1.Value = "ADMINISTRATOR"
Enter Password...
Alternatively, given that I open the File Password Used
Note: The code has an error in opening Vba
You can do following.
1. Check Excel settings for opening macro enabling. If the settings are:
"Enable all macros" then change it to
"Disable all macros with notification"
This setting is in
Excel Options | Trust Center | Trust Center Settings | Macro settings.
2. After this, close excel completely once. And then open this file. The file will open but the userform will not be shown. Instead a notification message will be displayed on the ribbon.
"Macros have been disabled"
Do not enable macros. Just go to Visual Basic Editor and change the code as per your requirement.