Variables

Variables are names that your code uses to refer to pieces of information. I’ve already shown lots of variables in code and used the word many times—you can’t say much about programming without doing that and fortunately variables aren’t a difficult concept to grasp, but there’s a lot of details to know about them.

The following sections tell you all you need to know (possibly all there is to know) about variables in Visual Basic.

Get Programming Excel with VBA and .NET 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.