Hi Tom...
Its done...
I changed the code in that line to:
Code:
--------------------
UserForm1.Controls.Item(boxname + boxno).Text = qsc(k)
[\code]
where boxname is the variable which stored "TXT" and it is taking the textboxname as TXT1,TXT2,TXT3..
thanks Tom...
--
bisjom
------------------------------------------------------------------------
bisjom's Profile:
http://www.excelforum.com/member.php...o&userid=31206
View this thread:
http://www.excelforum.com/showthread...hreadid=510448