Foxtable(狐表)用户栏目专家坐堂 → 某些单元格不可编辑


  共有2883人关注过本帖树形打印复制链接

主题:某些单元格不可编辑

帅哥哟,离线,有人找我吗?
Bin
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:贵宾 帖子:35433 积分:178524 威望:0 精华:3 注册:2013/3/30 16:36:00
  发帖心情 Post By:2015/4/23 11:32:00 [显示全部帖子]

PrepareEdit 事件


http://www.foxtable.com/help/topics/0605.htm



例如根据 列A  判断列B是否能编辑


If e.Col.Name = "列B" andalso e.row("列A") <> "123" Then

   
    e.Cancel = 
True
End
 If


 回到顶部