First of all, I'd recommend against using GoTo in any of your code. There's almost always a better solution than using GoTo.

2nd, you're not being specific enough. If you want to execute code based off of a certain condition, then use If/Then or Select/Case statements.

If there's just 2 or 3 conditions then If/Then is fine, if there's more then Select/Case will be better and less time consuming. ie:
vb Code:
  1. Private Sub Form_Load()
  2.     Dim intAge As Integer
  3.    
  4.     intAge = 50
  5.    
  6.     Select Case intAge
  7.         Case Is < 20
  8.             MsgBox "You're younger than 20"
  9.         Case Is >= 40
  10.             MsgBox "You're over the hill"
  11.         Case 42, 72, 56
  12.             MsgBox "You're either 42, 72, or 56 years old"
  13.         Case 100
  14.             MsgBox "wow"
  15.     End Select
  16. End Sub