If e.Col.Name = "备注" Then If e.Row.IsNull(e.Col.Name) = False If e.Row(e.Col.Name) Like "亏损" Then
e.Style = "样式2" End If End IfEnd If
单元格包含某个词组,用样式2,为什么不行呢?