(资料图片)
1、按Alt+F11,双击左边框里一个表格名称,将下面代码粘贴到右边框中。
2、Private Sub Worksheet_SelectionChange(ByVal Target As Range)Cells.Interior.ColorIndex = xlNoneActiveCell.EntireRow.Interior.ColorIndex = 35ActiveCell.EntireColumn.Interior.ColorIndex = 35End Sub。
本文就为大家分享到这里,希望小伙伴们会喜欢。
Copyright © 2015-2022 东方家居网版权所有 备案号:沪ICP备2020036824号-8 联系邮箱:562 66 29@qq.com