|
Note: If you name an Excel subroutine "Auto_Open()",
Excel will automatically run the routine whenever the spreadsheet
that contains it is initially opened. The Auto_Open subroutine is
an excellent place to launch the Wedge (as well as do any other
initialization functions that you might require). If you re-name
the above subroutine to "Auto_Open()"
then you can save yourself the step of having to manually run the
above subroutine.
Similar to the Auto_Open subroutine, Excel also supports an Auto_Close
subroutine that runs automatically when you close your spreadsheet.
This might be a good place to tell the Wedge to quit and unload
itself from memory as in the following example.
|