User`s guide

3 Usage Examples
Creating the M a in VB Code Module for the Application. The add-in
requires some initialization code and som e global variables to hold the
application’s state between function inv ocations. To achieve this, implement a
VisualBasiccodemoduletomanagethesetasks,asfollows:
1 Right-click the VBAProject item in the project window and click
Insert > Module .
A new mo du le appears under Modules in the VBA Project.
2 In the module’s property page, set the Name property to FourierMain.
See the next figure.
3 Enter t
he following code in the
FourierMain module:
'
' FourierMain - Main module stores global state of controls
' and provides initialization code
'
3-16