EXCEL vba 多重if和循环
发布网友
发布时间:2022-05-06 05:26
我来回答
共1个回答
热心网友
时间:2022-06-28 19:06
Sub 名称匹配()
Dim x As Integer, y As Integer
For x = 2 To 201
For y = 2 To 201
If Cells(x, 2) & Cells(x, 3) & Cells(x, 4) = Cells(y, 7) & Cells(y, 8) & Cells(y, 9) Then Cells(x, 1) = Cells(y, 6)
Next y
Next x
End Sub