I have a spreadsheet that I need to auto add a row when I place a number in a column ("E")
I did get some help from abousetta on adding the row (THANK YOU) but I still have another problem I need to add the row and copy data from only a couple of the columns ("H", "I"and J) I tryed a number of things (Target.Resize(Target.Offset(-1).Value).EntireRow.Filldown) This add every column.
Help anyone
This is what I have so far.
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not Intersect([E15:E200], Target) Is Nothing Then
If Target.Cells.Count = 1 And Target.Row > 1 Then
If Target.Offset(-1).Value <> vbNullString And Application.IsNumber(Target.Offset(-1).Value) = True Then
Target.Resize(Target.Offset(-1).Value).EntireRow.Insert Shift:=xlDow
End If
End If
End If
End Sub
Thanks
Wiln2lrn![]()
Bookmarks