我改了下机构可还是提示越界,您再帮看看
WithMSFlexGrid1.Clear.TextMatrix(0,0)=""ForJ=1To20'就是列的总数.TextMatrix(0,J)=JNextJDoWhi...
With MSFlexGrid1
.Clear
.TextMatrix(0, 0) = ""
For J = 1 To 20 '就是列的总数
.TextMatrix(0, J) = J
Next J
Do While p <= 188
For i = 1 To 10
.TextMatrix(i, 0) = i
For J = 1 To 20
If p > 188 Then
.TextMatrix(i, J) = ""
Else
.TextMatrix(i, J) = a(k, p)
p = p + 1
End If
Next J
Next i
Loop
End With 展开
.Clear
.TextMatrix(0, 0) = ""
For J = 1 To 20 '就是列的总数
.TextMatrix(0, J) = J
Next J
Do While p <= 188
For i = 1 To 10
.TextMatrix(i, 0) = i
For J = 1 To 20
If p > 188 Then
.TextMatrix(i, J) = ""
Else
.TextMatrix(i, J) = a(k, p)
p = p + 1
End If
Next J
Next i
Loop
End With 展开
展开全部
With MSFlexGrid1
.Rows = 10
.Cols = 20
End With
Dim a(100000, 188)
'For k = 1 To LOF(1)
Dim k As Integer
k = 0
While LOF(1)
t = 0
Do While t <= UBound(a, 2) '188
a(k, t) = Input(1, 1)
t = t + 1
Loop
k = k + 1
If k > UBound(a) Then
Exit Do
End If
'Next k
Loop
k = 1
Dim i As Integer, J As Integer, p
p = 0
With MSFlexGrid1
.Clear
For J = 0 To .Cols
.TextMatrix(0, J) = J
Next J
Do While p <= UBound(a, 2) '188
For i = 0 To .Rows
.TextMatrix(i, 0) = i
p = 0
For J = 0 To .Cols
'.TextMatrix(i, J) = a(k, p)
.TextMatrix(i, J) = a(i, p)
p = p + 1
Next J
Next i
Loop
End With
.Rows = 10
.Cols = 20
End With
Dim a(100000, 188)
'For k = 1 To LOF(1)
Dim k As Integer
k = 0
While LOF(1)
t = 0
Do While t <= UBound(a, 2) '188
a(k, t) = Input(1, 1)
t = t + 1
Loop
k = k + 1
If k > UBound(a) Then
Exit Do
End If
'Next k
Loop
k = 1
Dim i As Integer, J As Integer, p
p = 0
With MSFlexGrid1
.Clear
For J = 0 To .Cols
.TextMatrix(0, J) = J
Next J
Do While p <= UBound(a, 2) '188
For i = 0 To .Rows
.TextMatrix(i, 0) = i
p = 0
For J = 0 To .Cols
'.TextMatrix(i, J) = a(k, p)
.TextMatrix(i, J) = a(i, p)
p = p + 1
Next J
Next i
Loop
End With
来自:求助得到的回答
深美林评估
2024-12-20 广告
2024-12-20 广告
被执行人承担。1、按照进货价的1%收取评估费。2、评估费先不缴纳,在执行后由执行款里从被执行人的财产里面扣除。在法院对一民事诉讼判决原告胜诉后,被告在偿问题上的法定时间内未完成判决书上所规定的赔金额而被法院强制执行,则称该被告为本次强制执行...
点击进入详情页
本回答由深美林评估提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询