回覆列表
  • 1 # 146840426775

    這個需要VBA程式碼才可以實現。

    複製程式碼:

    Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)

    On Error Resume Next

    Cells.FormatConditions.Delete

    With Target.EntireRow.FormatConditions

    .Delete

    .Add xlExpression, , "TRUE"

    .Item(1).Interior.ColorIndex = 6

    End With

    With Target.EntireColumn.FormatConditions

    .Delete

    .Add xlExpression, , "TRUE"

    .Item(1).Interior.ColorIndex = 6

    End With

    End Sub

  • 中秋節和大豐收的關聯?
  • 脾虛溼困引起的嗜睡症狀是什麼呢?