Quote Originally Posted by Airborne
But I get an error. Also there are 6 textboxes (5, 21, 22, 23, 24, 26).
Don't refer to the Textbox as Textbox1 if that is the wrong name:

Textbox5
Textbox21
Textbox22
Textbox23
Textbox24
Textbox26