Error Message if user leaves a field blank

G

GillianX

Hi,

I have a drop down list based on a question but if a user skips the question
and doesn't select from the drop down list and doesn't click in the cell, how
can I create an error message so that they cannot leave this field blank?

Many thanks in advance.
 
G

Gord Dibben

If they don't click in the cell I don't see a way to pop up a message
without some event code.

Either selection_change code in the worksheet or..............

You could place some before_save or before_close event code in Thisworkbook
module that will pop up a message and cancel the save or close until they
fill in the cell.


Gord Dibben MS Excel MVP
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top