[求助]Excel VBA

我想用vba 跑迴圈,但是執行時,一直告訴我有問題,請問我有哪裡有錯,
小弟平時沒有接觸vba,請見諒
謝謝


Private Sub CommandButton2_Click()
Dim i As Integer
For i = 2 To 3000
If Cells(4, 58).Value > Cells(4, 28).Value Then
Cells(4, 53).Value = i
Else
Cells(4, 45).Value = i
End If
Next i

End Sub
2011-12-12 1:19 發佈
文章關鍵字 Excel VBA
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?