1. 點擊 Sheet orm
2. 右鍵菜單 查看代碼get
3. 複製以下代碼it
Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)io
On Error Resume Nextdi
Cells.FormatConditions.Delete文件
With Target.EntireRow.FormatConditionslet
.Delete
.Add xlExpression, , "TRUE"
.Item(1).Interior.ColorIndex = 6
End With
End Sub
4. Excel-選項-信任中心-保存時從文件屬性中刪除我的信息