Private Sub CommandButton1_Click()
[COLOR=#ff0000]button macro code goes here[/COLOR]
[COLOR=#000080][I]'change shape colour[/I][/COLOR]
ActiveSheet.Shapes("Rectangle 1").Fill.ForeColor.RGB = RGB(255, 0, 0)
[I][COLOR=#000080]'place timestamp inside shape[/COLOR][/I]
ActiveSheet.Shapes("Rectangle 1").TextFrame.Characters.Text = "Last Run " & Date & " " & Time
[COLOR=#000080][I]'place timestamp into cells[/I][/COLOR]
Range("A1") = Now
Range("A2") = Date
Range("A3") = Time
End Sub