Hello forum
A userform with this naming convention
ctrl1 ctrl2 ctrl3
aCtrl1 aCtrl2 aCtrl3 aCtrl4 aCtrl5
bCtrl1 bCtrl2 bCtrl3 bCtrl4 bCtrl5
cCtrl1 cCtrl2 cCtrl3 cCtrl4 cCtrl5
dCtrl1 dCtrl2 dCtrl3 dCtrl4 dCtrl5
cmdsave
there twleve such lines up to kCtrl
All I need to do is to transfer the values of these controls to my worksheet starting from A2 to H2 by clicking on cmdsave button I want the values of the first 3 controls(ctrl1,2,3) to be repeated with the bellow 12 lines controls
means the values of ctrl1,2 ,3 should go to column A to column C and the other 12 lines of controls's values should go to columnD to columnH (all the 12 lines are not neccessarily be filled .these can be less than12
How can these controls be looped in order to transfer their respective values to w/sheet?.
I will be greatfull to any help.
Best Regards
Imran Bhatti
Bookmarks