Skip to Main Content
Mastering VBA for Microsoft Office 365, 2019th Edition
book

Mastering VBA for Microsoft Office 365, 2019th Edition

by Richard Mansfield
July 2019
Beginner to intermediate content levelBeginner to intermediate
944 pages
27h 45m
English
Sybex
Content preview from Mastering VBA for Microsoft Office 365, 2019th Edition

Chapter 11Making Decisions in Your Code

In large part, computers behave intelligently because programming languages offer a way to test conditions. Then based on the results of that test, the code jumps (branches) to an appropriate area within the program. This is similar to human decision-making: If it's raining, then take an umbrella. If not, leave it at home.

An expression is a combination of two or more items (such as variables, constants, or literals) that resolve (aka evaluate or return) a value. For example, here's an arithmetic expression: 3 * 4. It resolves into the arithmetic value, 12. Note that the relationship between these items is described by what's called an operator. In this case, it's an arithmetic operator that specifies ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Excel 2016 VBA and Macros

Excel 2016 VBA and Macros

Bill Jelen, Tracy Syrstad
Excel 2016 Power Programming with VBA

Excel 2016 Power Programming with VBA

Michael Alexander, Richard Kusleika
Programming Excel with VBA and .NET

Programming Excel with VBA and .NET

Jeff Webb, Steve Saunders

Publisher Resources

ISBN: 9781119579335Purchase book