UBound(arrayname[,dimension])
Returns the upper bound of the array dimension. If no dimension is specified, the first dimension is used. Example: DIM MyArray(3) Ubound(Myarray) -> 3 Related functions: Array, IsArray