You are looking to do it in Visual Basic?
Because you can do it in a much simpler way in Microsoft Excel.

Arie.