i have Dim ar As New Variant[] so how can i determine if the array its empty, i mean does not added any element.. due that piece of code fails: If value.dim > 0 Then If value.count > 0 Then with a index out of bound exception Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com