以文本方式查看主题 - Foxtable(狐表) (http://foxtable.com/bbs/index.asp) -- 专家坐堂 (http://foxtable.com/bbs/list.asp?boardid=2) ---- 怎么遍历列,然后锁定指定的列? (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=104974) |
-- 作者:aduydgd -- 发布时间:2017/8/9 14:30:00 -- 怎么遍历列,然后锁定指定的列? 如题 |
-- 作者:有点甜 -- 发布时间:2017/8/9 14:41:00 -- For Each dc As DataCol In DataTables("表A").datacols If dc.name Like "第*" Then dc.AllowEdit = False Else dc.AllowEdit = True End If Next |
-- 作者:aduydgd -- 发布时间:2017/8/9 14:58:00 -- 只能设置一列吗?设置多列要设置无数个内容? |
-- 作者:有点甜 -- 发布时间:2017/8/9 15:54:00 -- 以下是引用aduydgd在2017/8/9 14:58:00的发言:
只能设置一列吗?设置多列要设置无数个内容?
看不懂代码,那请具体说明你的问题。 |
-- 作者:aduydgd -- 发布时间:2017/8/9 16:12:00 -- 搞定了 |