ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Protection not working for data validation lists (https://www.excelbanter.com/excel-programming/328982-protection-not-working-data-validation-lists.html)

[email protected]

Protection not working for data validation lists
 
Hi,

When I protect a worksheet the free text cells are correctly protected.
However, any cells that use data validation that allows the user to
select an option from a list, are not protected. The user can alter the
value by selecting a new option from the list. Does anybody know why
this might be occuring please?

This is for Excel 2000, and I am setting the protection
programmatically.

Thanks in advance for any help,
Steve


Debra Dalgleish

Protection not working for data validation lists
 
In Excel 2000 and earlier versions, you can change the selection in a
data validation dropdown, if the list is from a range on the worksheet.

If the list is typed in the data validation dialog box, the selection
can't be changed.

In Excel 2002 and later versions, neither type of dropdown list can be
changed if the cell is locked and the sheet is protected.

This MSKB article has information on the previous behaviour:

XL97: Error When Using Validation Drop-Down List Box
http://support.microsoft.com/default.aspx?id=157484


wrote:
Hi,

When I protect a worksheet the free text cells are correctly protected.
However, any cells that use data validation that allows the user to
select an option from a list, are not protected. The user can alter the
value by selecting a new option from the list. Does anybody know why
this might be occuring please?

This is for Excel 2000, and I am setting the protection
programmatically.

Thanks in advance for any help,
Steve



--
Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html



All times are GMT +1. The time now is 05:47 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com