Modules

If you are developing large VBA projects, it may make sense to separate the code into several modules. Modules are self-contained blocks of code that perform a particular function. For example, if you wanted to write a wizard that creates a real-time chart for a specific data point, you may want to break the project up into three modules: one module to retrieve the value after prompting the operator to specify a data source, one module to plot the data after prompting the operator to specify a chart type, and one module to create the chart based on the operator's specifications.

NOTE: Do not include modules in Dynamo objects, since they are not moved with the Dynamo object.

See Also