+ Reply to Thread
Results 1 to 2 of 2

Question re: Data Validations and Custom Error Messages

  1. #1
    Registered User
    Join Date
    08-13-2013
    Location
    Los Angeles, Ca
    MS-Off Ver
    Excel 2010
    Posts
    1

    Question Question re: Data Validations and Custom Error Messages

    Hello!

    I’d like to know if I can have more than one validation in a cell. I’ve created a data validation list. The options are Yes, No, Pending. If “No” is selected, I’d like for an error message to pop up. Any ideas?

    Thank you!

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Question re: Data Validations and Custom Error Messages

    Not using data validation, but certainly can be done with VBA.

    Try inserting this code into the Worksheet module (change the variable value of targetCell to match your spreadsheet, and the error message to whatever you like):
    Please Login or Register  to view this content.
    Hope this helps

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Write a error messages when a given user haven't activated the right Data Object
    By Luonas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-13-2012, 10:33 AM
  2. Data Validation and Error Messages
    By CathNWN in forum Excel General
    Replies: 2
    Last Post: 05-24-2011, 11:34 AM
  3. Replies: 2
    Last Post: 07-19-2010, 03:15 PM
  4. Validations Based On Previous Validations
    By PhatPhil in forum Excel General
    Replies: 5
    Last Post: 11-16-2009, 04:19 AM
  5. [SOLVED] error messages-Is there a way to show error messages
    By hans in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-02-2006, 12:45 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1