Chapter 9
VBA Programming
9.1 Introduction
In this chapter selected features of programming in Visual Basic for Applications (VBA) are presented. Also introduced are design environment for event-driven simulation (DEEDS) procedures for classes of network nodes and transactions as well as for statistical variables and tables. Sample code demonstrates how these features are applied to simulation modeling.
9.2 Names
The following four rules apply for names of procedures, constants, and variables:
1. The first character must be a letter.
2. The ...