Private Sub CommandButton1_Click()
PrivateSubCommandButton1_Click()v=3100:IfSheet1.Cells(v,4)=""AndSheet1.Cells(v,1)<>""...
Private Sub CommandButton1_Click()
v = 3
100:
If Sheet1.Cells(v, 4) = "" And Sheet1.Cells(v, 1) <> "" Then
Sheet1.Cells(v, 8) = Sheet1.Cells(v, 2)
Sheet1.Cells(v, 9) = Sheet1.Cells(v, 3)
v = v + 1
GoTo 100
End If
新手学习,搞不明白,请说明每行的意思 展开
v = 3
100:
If Sheet1.Cells(v, 4) = "" And Sheet1.Cells(v, 1) <> "" Then
Sheet1.Cells(v, 8) = Sheet1.Cells(v, 2)
Sheet1.Cells(v, 9) = Sheet1.Cells(v, 3)
v = v + 1
GoTo 100
End If
新手学习,搞不明白,请说明每行的意思 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询