Thanks Norie. Try to get some sleep. I will try to explain.
The textboxes in this particular userform are to be used in a calculation.
Without going into great detail, this is the method of calculation:
Textboxes 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23=Quantity
Textboxes 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22=Height
Textboxes 25, 28, 31, 34=Quantity
Textboxes 26, 29, 32, 35=Width
Textboxes 27, 30, 33, 36=Length
The Textboxes are placed as follows:
1 @ 2......... 9 @ 10
3 @ 4....... 11 @ 12
5 @ 6....... 13 @ 14
7 @ 8........15 @ 16
17 @ 18.........25 @ 26 x 27
19 @ 20 ........28 @ 29 x 30
21 @ 22.........31 @ 32 x 33
23 @ 24.........34 @ 35 x 36
Total - 40
Total=(TB1 X TB2) + (TB3 X TB4) + (TB5 XTB6) + (TB7 X TB8) +
(TB9 X TB10) + (TB11 X TB12) + (TB13XTB14) + (TB15 X TB16) +
(TB17 X TB18) + (TB19 X TB20) + (TB21 XTB22) + (TB23 X TB24) +
(TB25 X TB26 X TB27) + (TB28 X TB29 X TB30) + (TB31 X TB32 X TB33) +
(TB34 X TB35 X TB36)
What I would like to have is as the user is inputting data, the total updates.
For now, I have placed the code(See above post) into the Textbox_Change
event of each Textbox 1-36. This works. However, I would like to know if
there is a way to place the code only once, I hope I have been clear.
Thanks to all who take the time to read and help.
I know I am a hopeless novice.