How to Require a Separate Password for Excel Drop-Down Selections
Question details
The user wants to require a unique password for each selection in an Excel drop-down list to restrict access to specific user lists.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Securing user-specific data in a shared workbook by prompting for a password when a specific item is selected from a drop-down list.
- Observed behavior
- The user is looking for a mechanism to prompt for a password upon a drop-down selection, ensuring only authorized users can view their respective lists.
Before attempting to secure your data using drop-down passwords, evaluate the sensitivity of the information. Excel's built-in worksheet and VBA protections are not reliable security controls and can be easily bypassed by experienced users.
Create Separate Password-Protected Workbooks for Each User
Instead of using one shared workbook with an insecure drop-down macro, split the data into individual files secured with standard Excel encryption.
Because intermediate or experienced users can bypass workbook protections and VBA scripts, storing confidential user data in a single shared file is highly discouraged. The most reliable spreadsheet-based security method is file separation.
Copy each user's specific data list and paste it into a brand new, separate Excel workbook.
Navigate to 'File' > 'Info', click on 'Protect Workbook', and select 'Encrypt with Password'.
Enter a strong, unique password for that specific user, confirm it, and save the workbook.
Send the individual encrypted file to the corresponding user, providing the password through a separate communication channel.

Use SharePoint or Database Access Controls
For enterprise environments, migrate the data to a platform designed with proper server-side security.
Implement VBA for Drop-Down Prompts (Non-Sensitive Data Only)
Use a VBA macro to trigger an input box when a cell changes, strictly for organizational purposes rather than true security.
Encrypt Individual Workbooks using WPS Spreadsheet
Instead of relying on easily bypassed macros in shared files, use WPS Spreadsheet to quickly separate user data and apply strong, reliable document encryption to each file.
- 1. Open your data file: Launch WPS Spreadsheet and open the document containing the combined user data.
- 2. Split the data: Copy each user's specific data into a new, individual WPS Spreadsheet file.
- 3. Encrypt the file: Navigate to the 'Menu' button in the top left, select 'Document Encryption', and choose 'Encryption'.
- 4. Set a strong password: Enter a unique password in the 'Document password' field to ensure only the authorized user can open it, then save the file.

Frequently Asked Questions
Why is VBA password protection considered unreliable in Excel?
VBA passwords and hidden sheets can be easily bypassed by opening the file with macros disabled, or by using widely available third-party password recovery tools. It acts as a lock on a screen door rather than a true security vault.
Can I restrict access to specific sheets without using VBA?
You can use the 'Protect Sheet' feature to prevent unauthorized editing, but it cannot prevent users from viewing the data if they already have access to open the shared workbook.
Is it possible to completely hide Excel drop-down lists from certain users?
While you can hide the column or worksheet containing the drop-down list source data, any user who knows how to unlock basic workbook protection (or who bypasses it) will be able to unhide and view the source list.
How can I share specific data with different users securely?
The safest and most reliable method is to separate the data into individual workbooks and password-protect each file with standard encryption before sending them to the respective users.




