Change this line where it say "A1" to the cell where you ISNUMBER function is
If Range("A1") = "TRUE" Then
Change this line where it says "BUTTON1" to the button name of the button you want to change
ActiveSheet.Shapes("Button1").Select
your'll need to change both lines which have the "BUTTON1" in
The Finanlly change this line to the macro name you want to run
Selection.OnAction = "Enter_Macro_Name_In_Here"
Private Sub Worksheet_Change(ByVal Target As Range)
If Range("A1") = "TRUE" Then
ActiveSheet.Shapes("Button1").Select
Selection.Characters.Text = "OK"
Selection.OnAction = "Enter_Macro_Name_In_Here"
Else
ActiveSheet.Shapes("Button1").Select
Selection.Characters.Text = "ERROR"
Selection.OnAction = ""
End If
End Sub
[/QUOTE]
Bookmarks