Hi, Tom
thanks for your suggestion.
But I'm afraid that Transpose approach won't work when the elements o
array
exceed 5160. BTW, I'm using excel 2000, and I don't know what wil
happen in execl 2003.
Could you offer another approach?
one more thing,
For i = 1 To 20
If Rnd() < 0.5 Then
For j = 1 To 5
ar(i, j) = Int(Rnd() * 100 + 1)
Next
End If
Next i
I don't understand above lines.
If you can explain a little bit, that would be prefect
--
xian
-----------------------------------------------------------------------
xiang's Profile:
http://www.excelforum.com/member.php...fo&userid=2948
View this thread:
http://www.excelforum.com/showthread.php?threadid=49656