+ Reply to Thread
Results 1 to 3 of 3

Insert Row Based on Cell Value

  1. #1
    Registered User
    Join Date
    05-12-2011
    Location
    Colorado
    MS-Off Ver
    Excel 2003
    Posts
    2

    Insert Row Based on Cell Value

    I need some script that will do this:
    Please Login or Register  to view this content.
    In other words:

    If the character in the in the 7th position of the value in column E does not equal the character in the 7th position of the cell above it, then insert a row. Otherwise, do nothing.

    I need this test to run for each record in the spread sheet (each row that has data).

    Anyone?
    Last edited by Leith Ross; 05-12-2011 at 08:04 PM. Reason: Added Code Tags

  2. #2
    Forum Contributor
    Join Date
    05-09-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    315

    Re: Insert Row Based on Cell Value

    It's difficult without seeing what your sheet looks like.

    Try this for starters and if it doesn't work attach your file so we can see what it looks like.

    Please Login or Register  to view this content.
    Dion

  3. #3
    Registered User
    Join Date
    05-12-2011
    Location
    Colorado
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Insert Row Based on Cell Value

    You rock! This works exactly how I needed it to!

+ 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