老师好!
希望逻辑列[锁]勾选后,除[标注]、[锁]列以外,不可编辑。下面的代码所有列都不能编辑,是什么原因?
PrepareEdit事件If e.Row("锁") = True Then If e.Col.Name <> "锁" Or e.Col.Name <> "标注" Then e.Cancel = True End IfEnd If