+ Reply to Thread
Results 1 to 10 of 10

Find Blank Cell and Act On It

  1. #1
    Forum Contributor
    Join Date
    01-04-2011
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2003
    Posts
    129

    Find Blank Cell and Act On It

    Hello All,

    I have been posting a ton and getting great help. This is the latest one and I know I have seen examples, but I can't find any that match my need.

    Identify if a cell is blank. If so, cell to the right put a "No". If it isn't blank (I don't care what is in there), put a yes. This is the code I am using.

    Please Login or Register  to view this content.
    At first I could get it to at least look at the first cell (but nothing happened and it wouldn't look any further) now it won't even run (something to do with the defining of "Cell3"). Once again, I appreciate any help.

    Kelly

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Find Blank Cell and Act On It

    Depending on how many blanks you have - and assuming they are true blanks:

    Please Login or Register  to view this content.
    above assumes you're referring to blanks within the "used" region (as determined by content in Q)

  3. #3
    Forum Guru
    Join Date
    08-26-2007
    Location
    London
    Posts
    4,606

    Re: Find Blank Cell and Act On It

    Another approach, if the cells really are blank:
    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    01-04-2011
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2003
    Posts
    129

    Re: Find Blank Cell and Act On It

    Thank you both for the quick response. However, both programs stop when it runs into its first blank cell. Maybe I did something wrong, but it did identify correctly all of the populated cells at the start.

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Find Blank Cell and Act On It

    Neither suggestion is "iterative" - cells are handled en masse (if there are no blanks the 2nd would generate a debug - did this happen ?)

    Could you post a sample file please ?

  6. #6
    Forum Contributor
    Join Date
    01-04-2011
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2003
    Posts
    129

    Re: Find Blank Cell and Act On It

    Attached is a sample sheet. I appreciate the help.

    Kelly
    Attached Files Attached Files

  7. #7
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Find Blank Cell and Act On It

    In the sample there is no data in Q ... can you clarify the objective based on the sample ? Are you looking to populate P based on O ?

  8. #8
    Forum Contributor
    Join Date
    01-04-2011
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2003
    Posts
    129

    Re: Find Blank Cell and Act On It

    Sorry, just move over first commit date to the "Q" column and the Part Number to the "P" column. I forgot I have other things that run first moving those over automatically.

  9. #9
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Find Blank Cell and Act On It

    OK, try:

    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    01-04-2011
    Location
    Phoenix, Arizona
    MS-Off Ver
    Excel 2003
    Posts
    129

    Re: Find Blank Cell and Act On It

    That worked Perfectly. Thank you very much DonkeyOte

+ 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