I am beginning to really hate drop down in cell data validation boxes! Apart from the fact they don't trigger a WorksheetChange event I've now a problem I really don't get.
The sheet is protected, the cell with the drop down is not. Based on another sheet the idea is that when the user ends up on this sheet the range of dropdown options changes based on prior answers. The code itself is dead straightforward. I've stripped it back to a simple line. OK two lines for this purpose.
Runs nicely on unprotected sheet. Not on protected sheet. Even one where only the user interface is locked. Am I doing something wrong here or is this yet another drawback of these damn things? If so, other than having the code unlock and relock, is there a workaround?![]()
Range("d3").Select Selection.Validation.Modify Formula1:="=$F$3:$F$4"
Many thanks
Bookmarks