- ·上一篇:excel文字框怎么输入,输入,文字
- ·下一篇:excel名次怎么算出来,名次,算出来
excel背景色怎么变成了黑色,背景色,变成了,黑色
2025-12-05 10:19:48
1.excel单元格中鼠标选中的字符背景为什么变成黑色了
行数不就是,都是1嘛?是列号?Private Sub Worksheet_SelectionChange(ByVal Target As Range)Dim tr, tctr = Target.Rowtc = Target.ColumnIf tr > 1 And tc > 4 Then Exit SubRange("A1:D1").Font.ColorIndex = 0Target.Font.ColorIndex = 5[A2] = tc '显示选择单元格的列号End Sub。
