我从这个声明中得不到任何东西,我对Excel中的VBA很陌生。请帮我理解为什么。运行代码时什么都没发生
Sub Import()
Dim i As Integer
For i = Range("A" & Rows.Count).End(xlUp).Row To 1 Step -1
If sheet1.Cells(i, 1).Value > 99 And sheet1.Cells(i, 1).Value < 10000 Then
sheet1.Range("A" & i).Copy
Sheet2.Range("A" & i).PasteSpecial
End If
Next i
End Sub
谢谢您事先
你不能做'然后......并且......'。 –
^我也没有看到...... –
@DougCoats我会加到你的回答:) –