你要判断列名,样式才会针对某个单元格:
if e.Col.name = “某列" Then
if e.row("某列") = “某值" then
e.style = "某样式"
End if
End If