+ Reply to Thread
Results 1 to 5 of 5

How to check cell isnt blank upon saving or closing and color code them to show blanks

  1. #1
    Registered User
    Join Date
    08-22-2012
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2003
    Posts
    8

    How to check cell isnt blank upon saving or closing and color code them to show blanks

    Could anyone expand on this a bit?
    If input is entered into column C (range C2:C100), then row cells for columns D, E ,F, H or I must NOT be blank upon save.
    Could be that one or more of these row cells are left blank by mistake.

    An error msg pops up upon attempt to save and colors each cell yellow that lacks info.

    I found this coding in another thread.

    Please Login or Register  to view this content.
    Last edited by Cutter; 08-29-2012 at 10:34 AM. Reason: Added code tags

  2. #2
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: How to check cell isnt blank upon saving or closing and color code them to show blanks

    @ ScottyDo

    Welcome to the forum.

    Please notice that code tags have been added to your post(s). The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at top of the page and read Rule #3.
    Thanks.

  3. #3
    Registered User
    Join Date
    08-22-2012
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: How to check cell isnt blank upon saving or closing and color code them to show blanks

    My apologies and thx for your help. I've re-read the rules and understand now how to add code the correct way.

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: How to check cell isnt blank upon saving or closing and color code them to show blanks

    Hello ScottyDo ,

    Should the workbook be saved after the cells are colored yellow or stop the save and let the user correct the yellow cells?
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  5. #5
    Registered User
    Join Date
    08-22-2012
    Location
    Oslo, Norway
    MS-Off Ver
    Excel 2003
    Posts
    8

    Re: How to check cell isnt blank upon saving or closing and color code them to show blanks

    Hi Leith, It should stop the save and the yellow colored cells be filled with input.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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