it does it on the first statement containing the dimension ... as already said it would also fail on a pure ubound($Hands[1]) [Frown]
_________________________