Thanks ARPRINCE . Your advices inspired me to try your method and,believe it or not, I have been able to complete the assigned task .

Since I was new to VB, I was struggling with my code and by the time you posted your last reply,I was able to explore this concept and figure out a way.

Thanks again pal. *thumbs up*