Require a macro to copy from row 7 with locked, unlocked, single and merged cells to row 8. I have created below, not sure how I can include merged cell. Private Sub Worksheet_Change(ByVal Target As Range) If Application.CutCopyMode = xlCopy Then Application.EnableEvents = False Application.Undo Target.PasteSpecial xlPasteValues Application.EnableEvents = True Application.CutCopyMode = False End If End Sub Macro failed on merged cell when I copy with merged cell with single cell. merge cell to merge cell works but copy merged and single cell together does not work.
Solved by C. Q. in 17 mins