Quantitative Analysis
Parallel Processing
Numerical Analysis
C++ Multithreading
Python for Excel
Python Utilities
Services
Author

I. Motivation and design (PFE).
II. Installation of the Python for Excel.
III. Tutorial introduction into the Python for Excel.
IV. PFE Programmer's reference.
1. Direct access to Excel API.
2. Lower level access to Excel API.
3. Event trapping (PFE).
4. Configuration files (PFE).
A. Controlling individual workbook.
B. ThisWorkbook (PFE).
C. Initialization of add-in namespace.
D. Implementation of ExcelListener.
E. Script execution in response to activation of the ControlShell.
F. Finalization of the add-in.
Index. Contents.

Initialization of add-in namespace.


he script pfeAddin_OnStart.py runs on the Excel main thread every time the PFE add-in loads into an Excel application. This happens when the Excel application is started or if the PFE add-in is loaded. The repeated execution of this script in the same namespace will lead to errors.

The script pfeAddin_OnStart.py executes the script PythonForExcel.py.

Both pfeAddin_OnStart.py and PythonForExcel are located in the "c:\Program Files\PythonForExcel" directory.





Index. Contents.


















Copyright 2007