userfuncExcelMacro


Purpose
Create a user function from a Microsoft Excel macro.
Synopsis
function userfuncExcelMacro( ExcelFile:string, WorkbookSheet :string, macro:string):userfunc
Arguments
ExcelFile 
Name of the Excel file including the function implementation
Workbooksheet 
Name of the worksheet in the workbook including the Visual Basic macro
macro 
Name of the Visual Basic macro implementing the user function
Return value
A userfunc object that can be used in the F functions to be embedded in formulas.
Further information
User functions allow extremely complex, recursive or non-algebraic expressions to be included in nonlinear formulae. As such they may make use of simulators or other black box evaluators. The actual parameters to a user function depend upon the way it is bound to the model by the F function. Please see the chapter on user functions for more details. Communication with Excel carries significant overhead and performance degradation may result from using functions of this type.
Related topics
F, userfuncMosel, userfuncExcel, userfuncDLL.
Module
mmxnlp


If you have any comments or suggestions about these pages, please send mail to support@fico.com.

© Copyright 2001-2013 Fair Isaac Corporation. All rights reserved.