|EasyFit Help Home • Learn More About EasyFit|
EasyFitXL provides a large number of functions which can be used in Excel VBA programs.
Before you can use the functions of EasyFitXL in your VBA project, you should add a reference to the EasyFitXL type library. You only need to do this once for each workbook or XLA project. The type library contains the list of functions provided by EasyFitXL. Once a reference to the type library is added, these functions can be called from your VBA code.
Manually Adding a Reference
To add a reference to the type library, launch the integrated Excel Visual Basic Editor (press Alt-F11 in Excel), and choose References dialog that appears, locate and check the following item: EasyFitXL 1.0 Type Library (you can press the E key to quickly jump to this item). Click OK to return to the VBE.from the main menu. In the
Automatically Adding a Reference
If you use Excel 2000, 2002, or 2003, and find it inconvenient to manually add a reference each time you start a new project, you can have this process automated. The EasyFit setup application automatically installs an additional add-in EasyFitXL (VBA) which can be enabled/disabled in the Add-Ins window. If this add-in is enabled, it attempts to add a reference to the EasyFitXL type library for each new workbook you create in Excel. To disable this feature, choose from the main menu of Excel, and uncheck the corresponding check box.
Note: The default macro security settings prevent add-ins from automatically adding references. To change the security settings, select Trusted Sources tab, and check the Trust Access to Visual Basic Project check box.from the main menu of Excel, open the
The macro security settings are designed for protecting your system from malicious software, and it might be undesirable to disable this protection.
Using the Template
An alternative way of adding a reference to the EasyFitXL type library is using the Excel template (XLT) file installed with EasyFitXL. When a new workbook is created based on a template file, it inherits all the properties of that file, including the list of type library references. The EasyFitXL template file already contains a reference to the EasyFitXL type library, so if you create a workbook based on this template, your new workbook will contain the necessary reference, and you will not need to add it manually.
To display the templates available on your computer:
The following table lists the worksheet functions supported by EasyFitXL:
To obtain the function name and the argument list for a particular distribution:
Some of the functions listed above are not available for some specific distributions. For instance, the Hazard Function and the Inverse CDF are only available for continuous distributions. Please refer to the documentation on particular distributions for information on which functions are supported.
To view the full list of functions available in EasyFitXL, open the Object Browser (), and select EasyFitXL from the drop-down list. To get help on a particular function, right click on a function, and select .
Setting the optional
Note that the
|Copyright © MathWave Technologies