+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Compare cell values and Insert Row

  1. #1
    Registered User
    Join Date
    03-28-2012
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2003
    Posts
    2

    Compare cell values and Insert Row

    I need help creating a macro that will automatically insert a row if the value in cell AA12 is greater than the value in cell AD12. This must be done down the entire worksheet by checking those two columns (AA and AD). I believe I need to include a IF statement in my insert row macro. Please help.

  2. #2
    Valued Forum Contributor
    Join Date
    03-14-2012
    Location
    Arizona USA
    MS-Off Ver
    Excel 2000/2007
    Posts
    408

    Re: Compare cell values and Insert Row

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    03-28-2012
    Location
    Orlando, FL
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Compare cell values and Insert Row

    Thank you for the quick reply. However, I'm receiving a run time error based on method "Range". The values start in row 12. Should I start the macro with these cells? There are also blank rows in the worksheet that the macro must skip.

+ 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