+ Reply to Thread
Results 1 to 2 of 2

Macro to enter row where above cell is not exact

  1. #1
    Registered User
    Join Date
    07-15-2010
    Location
    Derby, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Macro to enter row where above cell is not exact

    Hi,

    I'm currently in the process of creating a major spreadsheet in which I input data and the end result is that it will automatically highlight the failures & email the relevent persons.

    Though I'm stuck half way through... I've managed to create a macro to sort & a macro to insert the failures into a new sheet... problem is the data is in relation to many different things currently all squashed together. What I'm looking for is a macro that will automatically insert a row if for example A4 is different from A3. But I need this to loop over the range of cells in column A rather than individual cells.

    Pulling my hair out here trying to get something to work - any help would be greatly appreciated.

    Thank you in advance

    Examples of before & Atfer attached.
    Attached Files Attached Files
    Last edited by reportmania; 07-21-2010 at 10:05 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Macro to enter row where above cell is not exact

    Post an example workbook showing the BEFORE and AFTER needs. Make sure the layout is correct, don't oversimplify the example.

    Click GO ADVANCED and use the paperclip icon to post up a desensitized copy of your workbook.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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