Hi Forum,
Using google I have found this macro to insert a new row below where you are double clicking and copying all formulas from above:
It works great, but can anyone help me with including the data from column B to the row that is being inserted.
So, result is to get a new row with all formulas from above except for the data from column B that also is inserted in the new row
Br.
FreshDK
Using google I have found this macro to insert a new row below where you are double clicking and copying all formulas from above:
VBA Code:
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
Cancel = True
Target.Offset(1).EntireRow.Insert
Target.EntireRow.Copy Target.Offset(1).EntireRow
On Error Resume Next
Target.Offset(1).EntireRow.SpecialCells(xlConstants).ClearContents
End Sub
It works great, but can anyone help me with including the data from column B to the row that is being inserted.
So, result is to get a new row with all formulas from above except for the data from column B that also is inserted in the new row
Br.
FreshDK