Sub c()
Application.ScreenUpdating = False
Dim a, i As Long
For i = [a65536].End(xlUp).Row To 2 Step -1
a = Cells(i, 6)
Cells(i, 10) = a
If Len(a) <> 11 Then Cells(i, 10) = ""
'If Len(a) <> 11 Then a = ""
Next
Application.ScreenUpdating = True
End Sub
以上代码If Len(a) <> 11 Then Cells(i, 10) = ""这句与
If Len(a) <> 11 Then a = ""有什么区别,运行为什么结果不一样?