所以你是要3*3的二維陣列?
For kkex = 0 To 2
For i = 0 To 2
txt1(kkex, i).Text = oSheet.Cells(cmbox(2).Text + 1, i * 3 + 2).Value
Next
Next作者: mark15jill 時間: 2013-1-22 17:22
為何要合併 , 合併不會比較清楚
For i = 0 to 8
txt1(int(i/3), i mod 3).Text = oSheet.cells(cmbox(2).Text + 1, Int(i / 3) + 3 * (i Mod 3) + 2).value
Next作者: mark15jill 時間: 2013-1-23 08:29