Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Number of argument #4

Open
errorscript opened this issue May 8, 2012 · 4 comments
Open

Number of argument #4

errorscript opened this issue May 8, 2012 · 4 comments

Comments

@errorscript
Copy link

Function help is not available in Excel when deploying function with more than 9 arguments.

Temporary solution is to use array as function argument, but it is not perfectly what we want.

The java server, send the full description, so I think it is either in Excel or in the addin that the problem occurs.
Is it an excel or an addin limitation ? Can it be override ?

Thanks

@poidasmith
Copy link
Owner

Actually, in the addin we limit to 20 arguments. So it will be Excel that has the limitation, although I can't find a reference anyway that specifies it.

@errorscript
Copy link
Author

So I assume that my temporary solution will be permanent ;)
Thanks a lot.

@antoineconze
Copy link

I recently started to use XLLoop to call my java code from Excel. I ran into the 9 arguments limit (exporting a function with more arguments results in the function as well as all the functions that come next not to register).

Looking at the code I believe there is an improper array size line 199 of XLLoop.cpp. The code declares
static LPXLOPER input[20];
whereas the proper size should be 30.

After changing the size to 30 and rebuilding the library I can now use up to 20 arguments.

@poidasmith poidasmith reopened this Apr 5, 2017
@poidasmith
Copy link
Owner

Thanks, for the information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants