Strange Behavior Passing in an Array of Strings
Posted: Wed Dec 26, 2012 10:32 pm
I have written the following function in my addin
It just returns the first string in a range.
In Cell A1 type in "String1"
In Cell A2 type in "String2"
In Cell A3 type in =Test(A1:A2)
and it works -- the output will be String1.
Now in Cell B1 type in the formula = A1
In Cell B2 type in the formula = A2
In Cell B3 type in the formula = Test(B1:B2)
and it will return "..."??
Saleem
Code: Select all
OUString MyService1Impl::test( Sequence< Sequence< OUString> > const &args) throw (RuntimeException)
{
return args[0][0];
}In Cell A1 type in "String1"
In Cell A2 type in "String2"
In Cell A3 type in =Test(A1:A2)
and it works -- the output will be String1.
Now in Cell B1 type in the formula = A1
In Cell B2 type in the formula = A2
In Cell B3 type in the formula = Test(B1:B2)
and it will return "..."??
Saleem