Heyjoe
New member
Hello
This macro works. Nxword is a command button and the macro makes it invisible.
However, in the following change event the call statement does not work.
I cannot find anything wrong with the Worksheet change event.
Thanks for any help.
This macro works. Nxword is a command button and the macro makes it invisible.
Code:
Public Sub makeinvisible()
If Range("TypeDrill") = "Sentences" Then Sheets("Word Drills").Nxword.Visible = False
End Sub
However, in the following change event the call statement does not work.
Code:
Private Sub Worksheet Change(ByVal Target As Range)
Call makeinvisible
End Sub
I cannot find anything wrong with the Worksheet change event.
Thanks for any help.