Results 1 to 4 of 4
  1. #1
    Gold Lounger
    Join Date
    Feb 2004
    Location
    Cape Town, RSA
    Posts
    3,444
    Thanks
    0
    Thanked 1 Time in 1 Post

    Disallow blank entries in cell (Excel XP)

    Hi,

    I know this is a simple Q, but I'm under pressure to get the answer. How do you disallow blanks in a column? What validation rule can be set to force a person to type a value. (No blanks allowed in column).
    Many TX
    Regards,
    Rudi

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Disallow blank entries in cell (Excel XP)

    Validation cannot be used to prevent users from clearing a cell.

    There are various ways to issue a warning if the user clears a cell, but I don't think there is a really good way to disallow it.

  3. #3
    WS Lounge VIP rory's Avatar
    Join Date
    Dec 2000
    Location
    Burwash, East Sussex, United Kingdom
    Posts
    6,280
    Thanks
    3
    Thanked 191 Times in 177 Posts

    Re: Disallow blank entries in cell (Excel XP)

    As Hans said you can't do this with data validation (the user, after all, can just not select a particular cell). I think your best bet would be a Workbook_BeforeSave event procedure to check any required cells.
    Regards,
    Rory

    Microsoft MVP - Excel

  4. #4
    Gold Lounger
    Join Date
    Feb 2004
    Location
    Cape Town, RSA
    Posts
    3,444
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Disallow blank entries in cell (Excel XP)

    ok...TX
    Regards,
    Rudi

Posting Permissions

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