shortail
Sub Worksheet_Change(ByVal Target As Range)
    Dim i As Integer
    Dim j As Integer
    Dim r As Integer

    r = 1000

    For i = 1 To r

         If Cells(i, 6) = "" Or Cells(i, 6) = 0 Then
             Cells(i, 2).Interior.ColorIndex = 0
         End If
         If Cells(i, 6) > 0 Then
             Cells(i, 2).Interior.ColorIndex = 42
         End If
    Next
End Sub

 

 

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-09-15
  • 2021-11-21
  • 2021-12-10
猜你喜欢
  • 2022-12-23
  • 2021-11-28
  • 2021-08-25
  • 2022-12-23
  • 2021-07-19
  • 2021-12-22
  • 2022-12-23
相关资源
相似解决方案