//from com VBA call below this loop worked fine with array
for (int i = 0; i < myLength; i++)
{
string[] ar = Array.ConvertAll((object[])o1[i], x => (string)x);
List st = new List (ar);
foreach (var x in st)
str += "*" + x + "*";
}
//from com VBA call below this loop not worked fine with array for (int i = 0; i < myLength; i++)
{
string[] stt = (string[])s4[i];
for (int p = 0; p< stt.Length; p++)
{
val += stt[p];
}
}
for (int i = 0; i < myLength; i++)
{
string[] ar = Array.ConvertAll((object[])o1[i], x => (string)x);
List
foreach (var x in st)
str += "*" + x + "*";
}
//from com VBA call below this loop not worked fine with array
{
string[] stt = (string[])s4[i];
for (int p = 0; p< stt.Length; p++)
{
val += stt[p];
}
}
Shweta LodhaPosted Apr 14, 2014, 11:58 AM
//from com VBA call below this loop not worked fine with array
{
string[] stt = (string[])s4[i];
for (int p = 0; p< stt.Length; p++)
{
val += (string)stt[p];
}
}
Hope it should work
VulpesPosted Apr 14, 2014, 1:52 PM
Shweta LodhaPosted Apr 14, 2014, 12:01 PM
Graeme PariotPosted Apr 14, 2014, 12:01 PM