I have cells M31:O54 where I want to delete values but keep formulae.
Can someone show me where my code is incorrect.
I'm pretty basic in understanding code.
Range("O5:AH28,P56:AG79").Select
Selection.ClearContents
Range("M31:O54").Select
Selection.SpecialCells(xlCellTypeConstants).ClearContents
End Sub
Thanks for any help.
Can someone show me where my code is incorrect.
I'm pretty basic in understanding code.
Range("O5:AH28,P56:AG79").Select
Selection.ClearContents
Range("M31:O54").Select
Selection.SpecialCells(xlCellTypeConstants).ClearContents
End Sub
Thanks for any help.