PDA

View Full Version : explanation



oleg_v
07-06-2010, 11:33 PM
hi
please can i get an explanation of:

LBound(aryres, 2) To UBound(aryres, 2)

thanks

brettdj
07-06-2010, 11:43 PM
It is looking at the lower and upper limits of the second dimension of an array (ayres)

Say aryres was
Dim aryres(1 To 10, 0 To 5)

Then your code would be saying
0 to 5