How can i print the content of the array to the textbox which can fulfill follwing 2 task?
1. can quick print out the array content into textbox
2. each array content print seperate line into textbox
Thanks
Printable View
How can i print the content of the array to the textbox which can fulfill follwing 2 task?
1. can quick print out the array content into textbox
2. each array content print seperate line into textbox
Thanks
assuming your textbox is set for multiline = true
dim MyString as string
MyString = ""
for i = lbound(MyArray) to ubound(MyArray)
mystring = mystring & MyArray(i) & vbCrLf
next i
text1.text = MyString
hope this helps.
Mark
Thanks. You can solve my problems !!!