Dim MoveForwardValue As Integer
MoveForwardValue = Range("AC5").Value
If MoveForwardValue = 0 Then
...
Else
MsgBox "Type must balance to ZERO!"
Exit Sub
End If
' or
Dim MoveForwardValue As Integer
MoveForwardValue = Range("AC5").Value
If MoveForwardValue = 0 Then
...
Else
MsgBox "Type must balance to ZERO!"
GoTo err
End If
err:
End Sub
|