i have just tried adding a Progress bar to my project everythings ok but i need help on hiding it

i tried this

Private Sub pro_Click()
If pro.Caption = "Hide Progress Bar" Then GoTo 1 Else
If pro.Caption = "Show Progress Bar" Then GoTo 2

1: ProgressBar1.Visible = False
pro.Caption = "Show Progress Bar"

2: ProgressBar1.Visible = True
pro.Caption = "Hide Progress Bar"
End Sub

i think it needs some kind of end in between 1 and 2 because it does both, can someone help me out?