8. Understanding Objects

Introducing Objects

You’ve seen quite a few variables so far in this book. Recall that a variable is a named part of VBA code that holds a single value (for example, a number or a string of characters). Or in the case of an array variable, the variable can store multiple related values. But so far you’ve been exposed to only one type of variable, which you might call a simple variable (sometimes you’ll see the technical term scalar variable used for this type). There’s actually a second type called object variables, or just objects ...

Get Business solutions Automating Microsoft now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.