+ Reply to Thread
Results 1 to 5 of 5

Add Row & Loop

  1. #1
    Forum Contributor
    Join Date
    08-27-2009
    Location
    South Africa
    MS-Off Ver
    Office 2010
    Posts
    217

    Question Add Row & Loop

    Good Afternoon

    I have a sheet with data, in last column I have value "Y" or "", I have a code that goes down last column and looks for Y and adds new line above "Y" value, loops through till done. My problem is that it's not doing it for all the "Y" values it is skipping some. I did add sheet to explain what I am doing.

    Thanks
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    03-17-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    2007/2010
    Posts
    555

    Re: Add Row & Loop

    Please Login or Register  to view this content.
    Last edited by Bishonen; 09-26-2012 at 09:09 AM.

  3. #3
    Forum Expert
    Join Date
    07-15-2012
    Location
    Leghorn, Italy
    MS-Off Ver
    Excel 2010
    Posts
    3,431

    Re: Add Row & Loop

    you have "y" values on column H, why you search it on column I ?
    If solved remember to mark Thread as solved

  4. #4
    Forum Contributor
    Join Date
    08-27-2009
    Location
    South Africa
    MS-Off Ver
    Office 2010
    Posts
    217

    Re: Add Row & Loop

    Thanks Bishonen

    Works great. I just realized that after it add the new line I need the Customer Code in column A in new row, How would I go about doing that? I tried to get an easy way around it but looks like it's gonna take me 100 steps to do that...

    Thanks

  5. #5
    Valued Forum Contributor
    Join Date
    03-17-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    2007/2010
    Posts
    555

    Re: Add Row & Loop

    Just to make sure that I understood you correct: after the inintial macro has done its work, you would like to have AND089 in "A31", AMY012 in "A20" etc?

+ 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