I’m trying to have a macro button to clear contents of a range of cells, and upon using the code below , It clears the contents of merged and unmerged cells. Is there a way to not clear the contents if the cell is merged in the range of cells?
Sub Delete1()
Range("$E$5:$AI$5") = ""
End Sub