1

我写了这段代码,如果匹配'if'语句,它应该超过2张并更改数据。

出于某种原因,它适用于第一张纸,但不适用于第二张纸。有什么想法吗?

   Sheets("Open - Software Evaluation").Select
   For iRow = 2 To 100
          If Cells(iRow, "E") = "Under Software Evaluation/Fix" Then
             Cells(iRow, "E") = "Evaluation - R&D"
             Else     
           End If
   Next iRow

   Sheets("Open - Pending Client Review").Select
   For iRow = 2 To 100
   If Cells(iRow, "E") = "Pending Client Review/Approval" Then
       Cells(iRow, "E") = "Client Review/Approval"
   Else    
   End If
   Next iRow
4

0 回答 0