Balcaf
April 23rd, 2001, 01:32 AM
Hello
I have an array MyArray( 127,8)
I need to place this array on to a text box with the correct columns headings and row count heading. EXample col1 col2
row 1 75 81 83 etc.
I have seen it done by using a listbox but our professor wants us to use a textbox .Please help last project.
Here is what I have for the array
dim Myarray (127,8) as integer
i = 0
For x = LBound(MyArray) To UBound(MyArray)
For y = LBound(MyArray, 2) To UBound(MyArray, 2)
MyArray(x, y) = arrHeads(i) ' call to funtion that holds other data
i = i + 1
Next y
Next x
I have an array MyArray( 127,8)
I need to place this array on to a text box with the correct columns headings and row count heading. EXample col1 col2
row 1 75 81 83 etc.
I have seen it done by using a listbox but our professor wants us to use a textbox .Please help last project.
Here is what I have for the array
dim Myarray (127,8) as integer
i = 0
For x = LBound(MyArray) To UBound(MyArray)
For y = LBound(MyArray, 2) To UBound(MyArray, 2)
MyArray(x, y) = arrHeads(i) ' call to funtion that holds other data
i = i + 1
Next y
Next x