Actually, I have a similar problem :
I want to create a string (it is a call to a function with 2
arguments) and it seems that the problem is not really the lenght o
the string but the number of arguments !!
eg ,
if you have a function like
Public Function Foo(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q
r, s, t, u, v, w, x, y, z)
Foo = a
End Function
try a
Sub test()
range("B2:E2").select
selection.FormulaArray = "=Foo(A1,A2,A3,A4,A5,A6,A7... til A19)
End Sub
It will return an error
but reduce the number of input and it will work !! (unde XP pro/Exce
2002)
Any trick to have more arguments ????:( :( :
--
Message posted from
http://www.ExcelForum.com