返回首页

excel十字光标代码?

来源:www.ivrshow.com   时间:2023-04-08 11:16   点击:286  编辑:admin   手机版

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

End With

End

顶一下
(0)
0%
踩一下
(0)
0%