Thanks... works like a charm!
could you please give me some more info on what the code exactly does?
what does UBound do? I looked it up in the manual, but couldn't really figure it out (total newby! )
what do the [number] value's mean in $Value[0] and $Value[1]?

thanks for the help...
regards,

jeroen