【资料图】
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备18023326号-21 联系邮箱:855 729 8@qq.com