Sub a()Dim a()For i = 2 To [q65536].End(xlUp).Row If Cells(i, 18) <> "" And Cells(i + 1, 18) = "" Then For j = 0 To UBound(a) If a(j) >= a(j + 1) Then Cells(i + j, 19) = "重复砂问题" End If Next ReDim a(j) a(j) = Cells(i, 12) j = j + 1ElseIf Cells(i, 18) <> "" And Cells(i + 1, 18) <> "" Then For j = 0 To UBound(a) If a(j) >= a(j + 1) Then Cells(i + j, 19) = "重复砂问题" End If NextElse a(j) = Cells(i, 12) j = j + 1 End IfNextEnd Sub不太懂,求前辈给点指点,我是新手,能给我个详细的点的解释么 北京市