WebGuy
07-13-2006, 04:43 AM
Hi Again !
This is a continuation of the "Make a structured list in a textbox. " thread.
I have a bonus question. I have integrated the listbox system into my Server program , but i would like the listbox2 servers to be stored in an array rather than as a string.
This is probably very simple for the most of you , but it would help me immensly (and make me look like an expert to my boss).
here is a bit of code.
UserForm2.ListBox1.List = colsarray()
UserForm2.Show vbModal
Textstring = ""
For counter = 1 To UserForm2.ListBox2.ListCount
Textstring = Textstring + UserForm2.ListBox2.List(counter - 1) & vbCrLf
ServerList(counter) = UserForm2.ListBox2.List(counter - 1) '*******
Next
The row marked by "*" is the one i am having trouble with...
thanks !
This is a continuation of the "Make a structured list in a textbox. " thread.
I have a bonus question. I have integrated the listbox system into my Server program , but i would like the listbox2 servers to be stored in an array rather than as a string.
This is probably very simple for the most of you , but it would help me immensly (and make me look like an expert to my boss).
here is a bit of code.
UserForm2.ListBox1.List = colsarray()
UserForm2.Show vbModal
Textstring = ""
For counter = 1 To UserForm2.ListBox2.ListCount
Textstring = Textstring + UserForm2.ListBox2.List(counter - 1) & vbCrLf
ServerList(counter) = UserForm2.ListBox2.List(counter - 1) '*******
Next
The row marked by "*" is the one i am having trouble with...
thanks !