In this section, you see the elements of the VBA language that are common to all versions of Visual Basic and the Microsoft Office applications. The section uses examples that employ the Excel object model, but the aim is to examine the common structures of the language. Many of these structures and concepts are common to other programming languages, although the syntax and keywords can vary. This section examines the following:
□ Storing information in variables and arrays
□ Decision-making in code
□ Basic error-handling
Was this article helpful?