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 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.