Chapter 6. Working with Variables, Constants, and Enumerations
This chapter covers the basics of working with variables, constants, and enumerations. Variables provide a way of storing and manipulating information. Variables come in several types, such as String variables for storing text, various numeric data types for storing numbers (for example, Integer variables for storing integer values), Date variables for storing dates and time, Boolean variables for storing True/False
values, and even Object variables for storing objects.
A constant is a named item that stores a value that doesn't change. Constants, like variables, exist only while a program is executing. Most programmers rarely create their own constants; they just use variables. However, ...
Get Mastering VBA for Microsoft® Office 2010 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.