473,395 Members | 1,452 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

limitation on number of arguments for VB func. called from excel?

I am trying to call a VB function from excel. The function initially had 22
arguments, and worked OK. Now it has 23 arguments. Excel seems to have
trouble loading this function. When I try to select it from user defined
functions, the box where I can fill out the arguments does not come up.
The arguments are of different types: long, double and range.
Nov 21 '05 #1
2 1542
Hi,

I couldn't find any information on a limit of arguements. Maybe try
removing the first argument and see if that fixes it, if not maybe there is
something wrong with the last argument you added. Otherwise try sending in
your longs and doubles as arrays to cut down the number of arguments you are
passing. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Tonia T." <Tonia T.@discussions.microsoft.com> wrote in message
news:71**********************************@microsof t.com...
I am trying to call a VB function from excel. The function initially had 22 arguments, and worked OK. Now it has 23 arguments. Excel seems to have
trouble loading this function. When I try to select it from user defined
functions, the box where I can fill out the arguments does not come up.
The arguments are of different types: long, double and range.

Nov 21 '05 #2
Hi,

I did find that for Excel 2000 the maximum number of arguements is 30. Why
it quits at 23 on you I don't know. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Ken Dopierala Jr." <kd*********@wi.rr.com> wrote in message
news:OL**************@TK2MSFTNGP12.phx.gbl...
Hi,

I couldn't find any information on a limit of arguements. Maybe try
removing the first argument and see if that fixes it, if not maybe there is something wrong with the last argument you added. Otherwise try sending in your longs and doubles as arrays to cut down the number of arguments you are passing. Good luck! Ken.

--
Ken Dopierala Jr.
For great ASP.Net web hosting try:
http://www.webhost4life.com/default.asp?refid=Spinlight
If you sign up under me and need help, email me.

"Tonia T." <Tonia T.@discussions.microsoft.com> wrote in message
news:71**********************************@microsof t.com...
I am trying to call a VB function from excel. The function initially had

22
arguments, and worked OK. Now it has 23 arguments. Excel seems to have
trouble loading this function. When I try to select it from user defined
functions, the box where I can fill out the arguments does not come up.
The arguments are of different types: long, double and range.


Nov 21 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Steven D'Aprano | last post by:
I'm trying to keep an open mind, but I am perplexed about something in Python that strikes me as a poor design. py> def func(a,b): py> print a,b py> func(1) Traceback (most recent call...
5
by: Andrej Prsa | last post by:
Hi! Why do I get a warning about incompatible pointer type if I try to assign a pointer to the function with variable argument number: int func (int argc, ...) , but everything is ok...
10
by: Felix Kater | last post by:
Hi, is it possible to define a function in a way that when calling it I can insert as many arguments as I want? (I would neither like to define a function with 50 default arguments nor prepare a...
3
by: prasanthag | last post by:
Hi, I am a newbie to this group. I have a problem in handling the variable arguments passed to a function. My requirement is like this. I have 2 functions say, void funcX(int i, int j);...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.