1.单元格所在行和列高亮 第一种方式 Private Sub worksheet_selectionchange(ByVal target As Range) Cells.Interior.ColorIndex = xlColorIndexNone target.EntireRow.Interior.ColorIndex = 6 target.EntireColumn.Interior.ColorIndex = 50 End Sub 第二种方式 Private Sub worksheet_sel