Sorry Hasan but its about the 100th time I have answered questions like that. It makes as much sense as me asking: In Haskell I do this - Code blah blah End How do I do this in APL? See what I mean? We, on this mailing list, generally don't know nor care how to write Visual Basic code.