Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Control Flow Summary

Control Flow Summary (Visual Basic)

Visual Basic language keywords and run-time library members are organized by purpose and use.


Language element


GoTo, On Error

Exit or pause the program.

End, Exit, Stop


Do...Loop, For...Next, For Each...Next, While...End While, With

Make decisions.

Choose , If...Then...Else, Select Case, Switch

Use procedures.

Call, Function, Property, Sub

© 2015 Microsoft