Hey,
I'm running a Basic Macro just to clear contents of cells. When i run it I receive an error that I cannot modify merged cells. How can I clear merged cells?
Sub servicesub()
Worksheets("Sheet1").Range("A13:O23,R26").ClearContents
Worksheets("Sheet2").Range("A13:J22,M25").ClearContents
Worksheets("Sheet3").Range("A13:J22,M26").ClearContents
Worksheets("Sheet4").Range("A13:I20,L23").ClearContents
End Sub
I'm running a Basic Macro just to clear contents of cells. When i run it I receive an error that I cannot modify merged cells. How can I clear merged cells?
Sub servicesub()
Worksheets("Sheet1").Range("A13:O23,R26").ClearContents
Worksheets("Sheet2").Range("A13:J22,M25").ClearContents
Worksheets("Sheet3").Range("A13:J22,M26").ClearContents
Worksheets("Sheet4").Range("A13:I20,L23").ClearContents
End Sub