disable clear all using VBA
change "e" on edit to uppercase "E" - this worked ok for me.
Sub testclear()
Application.CommandBars("Edit").Controls("Clear"). Enabled = False
End Sub
--
JB
"Brad" wrote:
I have tried several versions of the following code and have been
unsuccessful on disabling the "clear all" feature in version 2003 and 2007.
Any suggestions?
Sub testclear()
Application.CommandBars("edit").Controls("Clear"). Enabled = False
End Sub
|