O'Reilly logo

Sams Teach Yourself Visual Basic 2008 in 24 Hours: Complete Starter Kit by James Foxall

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 13. Making Decisions in Visual Basic Code

<feature><title></title>

What You’ll Learn in This Hour:

<objective>

Making decisions using If...Then

</objective>
<objective>

Expanding the capability of If...Then using Else and ElseIf

</objective>
<objective>

Evaluating an expression for multiple values using Select Case

</objective>
<objective>

Redirecting code flow using GoTo

</objective>
</feature>

In Hour 10, “Creating and Calling Code Procedures,” you learned to separate code into multiple procedures so that they can be called in any order required. This goes a long way in organizing code, but you still need a way to selectively execute code procedures or groups of statements within a procedure. You use decision-making techniques to accomplish this. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required