+ Reply to Thread
Results 1 to 4 of 4

Excel 2007- Loop through Cells, paste in lowest blank one

  1. #1
    Registered User
    Join Date
    10-21-2009
    Location
    City, Country
    MS-Off Ver
    Excel 2003
    Posts
    2

    Excel 2007- Loop through Cells, paste in lowest blank one

    Hello Excel People - Can someone help me create a simple loop, I have 50 cells (need to paste in lowest cell) - I need this to occur:

    -Is cell A1 empty? if yes - paste
    -some other stuff happens...
    -Is cell A1 empty? no, is cell A2 empty? - paste
    -some other stuff happens...
    -Is cell A1 empty? no, is cell A2 empty?, no, is call A3 empty? -paste

    etc... to 50

    Can someone provide some help.. I have not made loops before.Thanks



    ***

    Thx for solving! Works great!
    Last edited by Noobz; 10-21-2009 at 11:30 PM. Reason: Solved

  2. #2
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: Excel 2007- Loop through Cells, paste in lowest blank one

    need to paste in lowest cell
    Lowest?
    Lowest as in how?
    =IF(AND(OR(BLONDE,BRUNETTE,REDHEAD),OR(MY PLACE,HER PLACE),ME),BOW-CHICKA-BOW-WOW,ANOTHER NIGHT ON THE INTERNET)

  3. #3
    Registered User
    Join Date
    10-21-2009
    Location
    City, Country
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Excel 2007- Loop through Cells, paste in lowest blank one

    My apologies... that should actually say, "paste in highest" blank cell...

    for example... when this routine is called...

    It will looked at column A, let's say A1,A2,A3 are full... this should paste in A4.

    However, let's say A1:A10 are full, then A11 should be the next paste spot.

    Thanks

  4. #4
    Forum Expert
    Join Date
    12-10-2006
    Location
    Sydney
    MS-Off Ver
    Office 365
    Posts
    3,527

    Re: Excel 2007- Loop through Cells, paste in lowest blank one

    Hi Noobz,

    See if the following is what you're after:

    Please Login or Register  to view this content.
    Also, if 2007 is the standard version of excel you use, you should change your user profile to say this as it currently says 2003.

    HTH

    Robert
    ____________________________________________
    Please ensure you mark your thread as Solved once it is. Click here to see how
    If this post helps, please don't forget to say thanks by clicking the star icon in the bottom left-hand corner of my post

+ 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