基于多个单元格值复制整个行
|
我试图复制整个行,其中两个值为空白,第三个单元格值为
MS-NORT
,
我的代码在下面,但出现语法错误。
请帮忙
Set MK = Sheets(\"data dump\").Range(\"P1:Q5000\")
For Each cell In MK
If cell.Value = \"\" And Sheets(\"Data Dump\").Range(\"M1:M5000\") <> \"MS-NORT\"
Then cell.EntireRow.copy
Sheets(\"working data\").Range(\"A\" & Rows.Count).End(xlUp).Offset(1, 0).PasteSpecial
End If
Application.CutCopyMode = False
Next
没有找到相关结果
已邀请:
1 个回复
橙绥