if e.col.name = "第二列" andalso e.row.isnull("第一列") = false Then
e.style="样式1"
End If
http://www.foxtable.com/webhelp/scr/0656.htm