Ok ive done it..but this is my very last question sir.. what should i do so that my program is user driven event? i tried to make parameters in your function so that the range will be depending on the inputted value given by the user.

i made two textboxes and every textbox.text are assigned in string variables, but when i run my program i ends with an error..

i dont know how to dwell with this part..
.Range(a : b).Copy