VBA编程了,为什么运行之后,Excel不显示出来
Sub循环()DimiAsIntegerDimnAsIntegerDimxAsIntegern=5x=7Fori=1To19Range("K"&x).Value=Rang...
Sub 循环()
Dim i As Integer
Dim n As Integer
Dim x As Integer
n = 5
x = 7
For i = 1 To 19
Range("K" & x).Value = Range("C" & n).Value
Range("L" & x).Value = Range("C" & n + 2).Value
n = n + 37
x = x + 37
Next
End Sub 展开
Dim i As Integer
Dim n As Integer
Dim x As Integer
n = 5
x = 7
For i = 1 To 19
Range("K" & x).Value = Range("C" & n).Value
Range("L" & x).Value = Range("C" & n + 2).Value
n = n + 37
x = x + 37
Next
End Sub 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询