我表中的Drawcell中的所有代码如下:
If e.Row.Isnull ("操作性") = False Then
If e.Row("操作性") = ("签单") Then
e.style = "签单"
Else If e.Row("操作性") = ("跑单") Then
e.style = "跑单"
End If
End If
If e. Col.name = "操作日期" Then
If e.Row.Isnull("操作日期") = False Then
If e.Row("操作日期") < = Date.Today Then
e.style = "逾期"
Else
If e.Row("操作日期") < Date.Today.addDays(3) Then
e.style = "近期"
End If
End If
End If
End If
If e.Row.Isnull ("市场部") = False Then
If e.Row("市场部") = ("未分派") Then
e.style = "未分派"
End If
End If
If e.Row.Isnull ("操作性") = False Then
If e.Row("操作性") = ("预签") Then
e.style = "预签"
End If
End If
If e.Row.Isnull ("操作性") = False Then
If e.Row("操作性") = ("预收设计") Then
e.style = "预收设计"
End If
End If
If e.Row.Isnull ("跟单状态") = False Then
If e.Row("跟单状态") = ("转跟") Then
e.style = "转跟"
End If
End If
使用汇总模式后所有样式都不能正常显示,当关闭文件重新打开后显示正常,在使用汇总后又同样产生这个问题!求解?
[此贴子已经被作者于2015-1-26 16:20:07编辑过]