See if this does anything for you:Code:Sub blah() lr = Cells(Rows.Count, "A").End(xlUp).Row Range("B1:B" & lr).Value = Range("A1:A" & lr).Value For Each are In Range("B1:B" & lr).SpecialCells(xlCellTypeBlanks).Areas With are.Offset(-1).Resize(are.Rows.Count + 2) .DataSeries Rowcol:=xlColumns, Type:=xlLinear, Trend:=True End With For Each cll In are.Cells cll.Value = Round(cll.Value) Next cll Next are End Sub




Reply With Quote
Bookmarks