Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub CopyLineAbove()
Selection.EntireRow.Insert Shift:=xlDown
With Selection
.Offset(-1, 0).EntireRow.Copy
.PasteSpecial _
Paste:=xlPasteFormulas, _
Operation:=xlNone, _
SkipBlanks:=False, _
Transpose:=False
End With
End Sub
Sub CopyLineAbove()
Selection.EntireRow.Insert Shift:=xlDown
With Selection
lrow = .Offset(-1, 0).Row
icol = ActiveSheet.UsedRange.Columns.Count
For Each rng In Range(Cells(lrow, 1), Cells(lrow, icol))
With rng
If Left(rng.Formula, 1) = "=" Then
rng.Copy Destination:=rng.Offset(1, 0)
End If
End With
Next
End With
End Sub