以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 关于自定义样式的问题 (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=105259) |
-- 作者:scofields -- 发布时间:2017/8/15 18:18:00 -- 关于自定义样式的问题 老师,我想实现,A列中含有“公司”或“工厂”字样,则设置样式“ALL”,这个代码怎么编写呢? |
-- 作者:rjh4078 -- 发布时间:2017/8/15 19:49:00 -- if e.col.name="A列" then if e.row(e.col.name).contains("公司") orelse e.row(e.col.name).contains("工厂") then e.style="all" endif end if
|
-- 作者:有点甜 -- 发布时间:2017/8/16 9:08:00 -- If e.Col.name="A列" Then If e.text.contains("公司") OrElse e.text.contains("工厂") Then e.style="all" End If End If |