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 7Using Array Variables

In this chapter, you'll learn how to use arrays—containers that can store multiple values at the same time. An array is a kind of super-variable.

You'll start by examining what arrays are and what you use them for. You'll then examine how to create them, populate them, and erase them. Along the way, you'll look at how to resize an array to make it able to contain more (or fewer) values and how to specify the scope for an array. (It's similar to the techniques for variables we explored in Chapter 6, “Working with Variables, Constants, and Enumerations.”) And you'll learn how to determine, while your macro executes, whether a particular variable name represents an array or a just an ordinary, single-value variable. ...

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