D
dunny_budgie
Hopefully a simple question for all you VB experts out there. I have built a
spreadsheet which, for various reasons, has been password protected. There
are a number of macros running various functions on the spreadsheet, and i
have used the 'Const' function in VB to identify the password for use with
these macros. The macros then call on the const variable when necessary.
The same password is also used for the Project Property, to restrict access
to viewing the macros.
Now, what i want to do is create a macro that brings up a dialog box,
prompting the user for a new password. When the user enters a new password,
the Const variable in my macro is then changed. At the same time, i want the
Password on the Project Properties to change to the new password.
Is this possible? Can anyone help?
spreadsheet which, for various reasons, has been password protected. There
are a number of macros running various functions on the spreadsheet, and i
have used the 'Const' function in VB to identify the password for use with
these macros. The macros then call on the const variable when necessary.
The same password is also used for the Project Property, to restrict access
to viewing the macros.
Now, what i want to do is create a macro that brings up a dialog box,
prompting the user for a new password. When the user enters a new password,
the Const variable in my macro is then changed. At the same time, i want the
Password on the Project Properties to change to the new password.
Is this possible? Can anyone help?