Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50139

Prevent Typing in Drop Down List Cells

$
0
0
I'm trying to prevent users from typing in a cell which has a drop down list through data validation. Can anyone suggest some code to accomplish this?

The issue is that if you type something not contained in the list Excel 2010 gives an error message and then the user can click "Retry". However Excel doesn't clear the cell and the user is unable to access the drop down list unless the cell is clear.

My other thought is possibly some code that reacts to the data validation message and clears the cell when they select "Retry", but I couldn't find anything regarding that type of event.

Many thanks!

Viewing all articles
Browse latest Browse all 50139

Trending Articles