"optimistic code", I like that one
The "If UBound($myarray)>=3" thing worked.
I always miss the obvious things... not that much of a programmer.
Thanks a lot guys.
_________________________
bram