Hello When I run an event within: Export Public Sub WebButton3_Click() Dim var1 As String WebButton1.Visible = False var1 = "1" If var1 = "1" Then WebButton1.Visible = True Endif End The button is hidden and will not be visible again I checked for other controls and it works well Thanks