请帮忙解释下面语句意思-2
'填写遗漏值
Dim n As Integer
Dim arrR() As Integer, arrB() As Integer
ReDim arrR(5), arrB(5)
Dim r As Range
Dim k As Long
Dim t As Integer
arrR(0) = 9
arrB(0) = 9
Range("B3:AX7").Value = ""
For n = 2 To 50
k = 9
Do While Cells(k, n).Text = ""
k = k + 1
Loop
For t = 1 To 5
Do While Cells(k, n).Text = ""
k = k + 1
Loop
arrR(t) = k
arrB(t) = k
k = k + 1
If n < 35 Then
If Cells(k, n).End(xlDown).Row > 65530 Then Exit For
Cells(t + 2, n) = arrR(t) - arrR(t - 1) - 1
ElseIf n > 34 Then
If Cells(k, n).End(xlDown).Cells.Row > 65530 Then Exit For
Cells(t + 2, n) = arrB(t) - arrB(t - 1) - 1
End If
Next t
Next n
Exit Sub
End If' If Target.Value = Sheets("双色球").Cells(i, 2)
Next i
Else 'If Len(Target.Value) = 7
Exit Sub
End If 'If Len(Target.Value) = 7
End Sub
人气:135 ℃ 时间:2019-08-04 15:16:52
解答
Do While Cells(k,n).Text = ""
循环执行 条件是 如果表格 行K 列N 的内容是“”(空的) 就继续循环执行
推荐
猜你喜欢
- 季羡林的怀念母亲
- 弟弟,英文翻译成汉语怎么读,要用汉语读出来谢谢高手
- 求曲面z=x2+xy+zy2在(1,-1,2)处切平面方程.
- 用所给词的正确形式填空,
- 89乘以43约等于多少
- 在液体中放入一块物体 那么液体对容器底部的压强和原来时会有什么变化呢 为什么
- 在平行四边形ABCD中,AE垂直于BC,AF垂直于CD,垂足分别为E、F,角ADC=60度,BE=2,CF=1,连接DE交AF于P,求PE的长
- 当看到“安全”两个字的时候,你觉得用什么名词或者形容词去表现这个词语》