+ Reply to Thread
Results 1 to 5 of 5

macro find value and insert new row in last value found.

  1. #1
    Registered User
    Join Date
    06-06-2012
    Location
    Mexico
    MS-Off Ver
    Excel 2010
    Posts
    99

    macro find value and insert new row in last value found.

    Hi good afternoon!!

    Dear Users, I'm trying to create a macro that takes the Select value in "A4:A" range & insert me a new row in the last value to found in "C9:C" range and if possible put me "S" in "E4:E" RANGE..
    it's possible??Find Value and add row in last value.xlsm
    Attached is a workbook with a before and after example of what I'm trying to do.

    Thanks again for all..

    Best Regards!

  2. #2
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: macro find value and insert new row in last value found.

    Since the values in A4:A6 match the groups of rows in column C, then doesn't seem like a match needs to take place; rather, just a simple insert rows when column C values change.

    Try...

    Please Login or Register  to view this content.
    HTH
    Regards, Jeff

  3. #3
    Valued Forum Contributor
    Join Date
    02-12-2011
    Location
    The Netherlands
    MS-Off Ver
    365
    Posts
    818

    Re: macro find value and insert new row in last value found.

    Or:
    Please Login or Register  to view this content.
    Last edited by HSV; 11-17-2012 at 06:18 AM. Reason: insert row
    Kind regards, Harry.

  4. #4
    Registered User
    Join Date
    06-06-2012
    Location
    Mexico
    MS-Off Ver
    Excel 2010
    Posts
    99

    Re: macro find value and insert new row in last value found.

    Hi jeffrey & HSV!

    Good Morning!, thanks a lot!!

    I customize the code, and works fine!

    This is the code:
    Please Login or Register  to view this content.
    Best Regards!!
    Last edited by jeffreybrown; 11-19-2012 at 02:35 PM.

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: macro find value and insert new row in last value found.

    Very happy to hear it worked out for you and we are glad to have helped. Thanks for the feedback.

    Please don't forget to mark your thread as sloved.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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