The following formula enables me to insert a row whenever I make a new entry in the A column.
However, I now need to put in another macro to remove the last inserted row whenever an entry is removed from the A column. I don't know how to write the macro to accomplish this function. I think the above code information may be enough to determine how the new code should be written. Please let me know if there is more information to share in order to solve this problem.![]()
If blnClickedEmpty Then With Me.Cells(Rows.Count, 1).End(xlUp).Offset(1) If rngClickedCell.Row + 1 = .Row Then Me.Range("A4:BD4").Copy .Cells.Insert xlDown Application.CutCopyMode = False .Offset(-1).Resize(, 56).SpecialCells(xlConstants).ClearContents End If End With End If
Bookmarks