Posts by brobles




    -- I would then like to run the code below from the last row to the newly inserted row from above--


    Code
    For R = Cells(Rows.Count, "C").End(xlUp).Row To (Cells(R, "C").Value) = 0 Step -1  
    If Year(Cells(R, "C").Value) <> Year(Cells(R - 1, "C").Value) Then
    Rows(R).Resize(2).Insert
    
    
    Next

    Hello All:


    I am looking for some much needed help on resolving an issue.


    I would like a macro that loops through my rows, and inserts 1 row below the cell that is within 90 days of a cell value.


    A7 = cell value being referenced


    Column C has the dates in my spreadsheet. My range starts at row 9.


    Any advice would be extremely appreciated


    Thank you :)