hi folks,

I have the following code that I want to attach to a button, but am at a loss of how to?

Sub sbClearCellsOnlyData()
Range("A1:D5").ClearContents
End Sub

Nick