Home |
Search |
Today's Posts |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
As mentioned above, there is a limit to the number of parameters.
Perhaps you are calling the C/C++ function from your VBA code as a means of creating a worksheet function out of a C/C++ DLL. The fastest way to do this is through an XLL add-in. These use the Excel C API to register user defined functions. RapidXLL_NET automatically builds XLL add-ins ( as well as .NET libraries ) from native C / C++ headers. Download a free trial at http://www.RapidXLL.net The tool also allows a bit of customization. You can default parameters and hide the them from worksheet users so that the 21 parameter functions comes down to just 5 parameters. You can also re-name the function in the process. --- The RapidXLL Team http://www.RapidXLL.net T Lynn McGuire wrote: I am extending a DLL that we have written for Excel VBA to call. One of the new functions has 21 arguments. However, Excel refuses to compile the VBA code and says that it cannot find the function. Is there a limit on the number of arguments for DLL functions in Excel VBA ? Thanks, Lynn McGuire |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Sum function changes arguments | Excel Worksheet Functions | |||
If Function with 3 arguments | Excel Worksheet Functions | |||
How can I evade the limit of 30 arguments in a function? | Excel Worksheet Functions | |||
Need to open the Function Arguments window from VBA for a user defined function. | Excel Programming | |||
Is it possible to use more than 8 arguments in a function? | Excel Discussion (Misc queries) |