方法

要用VBA实现。

打开excel,按Alt+F11,双击左边的一个工作表,例如Sheel1,将下面代码粘贴到右边框中,在关掉弹出的这个右边的框,再点击右上角的X号,那么这个工作表就能实权现你的要求。

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Cells.Interior.ColorIndex = 0
Rows(Target.Row).Interior.ColorIndex = 8
End Sub

 

图示

excel实现醒目阅读模式,高亮显示当前选中行,脚本高亮

 

excel实现醒目阅读模式,高亮显示当前选中行,脚本高亮

 

相关文章:

  • 2022-12-23
  • 2021-07-29
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-08
  • 2021-06-23
  • 2022-02-04
  • 2022-12-23
  • 2021-12-22
相关资源
相似解决方案