hi guys,
i have this code
what is wrong?Sub testalfa() Dim lastrow As Long Dim lastrow2 As Long Dim sl As Long Sheets("Sept2018").Select lastrow = Cells(Cells.Rows.Count, "L").End(xlUp).Row lastrow2 = Cells(Cells.Rows.Count, "K").End(xlUp).Row sl = lastrow + 1 Range("sl").Value = lastrow/ lastrow2 End Sub
Bookmarks