I want to put a password on a macro as I keep accidentally pressing it and i can't get the information back that it erases. I have tried to follow the codes from other similar threads but they all come up with error messages. This is the code:
Sub ClearTable()
'
' ClearTable Macro
' Macro recorded 24/04/2011 by Any User
'
'
Range("B6:E15").Select
Selection.ClearContents
End Sub
HELP!!
Sub ClearTable()
'
' ClearTable Macro
' Macro recorded 24/04/2011 by Any User
'
'
Range("B6:E15").Select
Selection.ClearContents
End Sub
HELP!!