Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How can I add a PASSWORD entry box to my EXCEL app using VBA
I have an application that I would like to add a password entry box.
The box would appear on the screen when a workbook is opened and the user would have to enter a password to be able to use the workbook. The password entry box would contain two buttons: SUBMIT - Submits the password CANCEL - This would close the workbook without saving. The password would be written into the workbook (most likely in the first spreadsheet) and the user would have to enter the password that matches. If the password is incorrect then the workbook would display a message box with a message like, "Sorry, but you have entered an incorrect password. Please re-enter the correct password." The user would be able to close this message box and try re-entering the workbook. I would be most grateful if you could let me know what VBA code I would need to write to accomplish the above. Please respond via email: Thank you so much. Marcello |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can I protect all excel tabs in a file with one password entry? | Excel Discussion (Misc queries) | |||
sql server password entry during macro run | Excel Discussion (Misc queries) | |||
password protecting a column for data entry in a sheet, how? | Excel Worksheet Functions | |||
how to automate opening a password protected excel file? e.g. a .xls that has a password set in the security tab. | Excel Worksheet Functions | |||
How to create a PASSWORD ENTRY BOX at startup of Excel Application | Excel Programming |