excel橫豎十字光標的簡單介紹

PrivateSub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range)
Cells.FormatConditions.Delete
With Target.EntireColumn
.FormatConditions.Add xlExpression, , "=true"
.FormatConditions(1).Interior.ColorIndex = 23
End With
With Target.EntireRow
.FormatConditions.Add xlExpression, , "=true"
.FormatConditions(2).Interior.ColorIndex = 27

excel橫豎十字光標的簡單介紹

文章插圖
End With
End
excel橫豎十字光標的簡單介紹

文章插圖
【excel橫豎十字光標的簡單介紹】Sub

    推薦閱讀