想让办公室干事和开发者能编辑,其它人不能编辑,为什么不对呢。开发者也不能编辑了。
If User.roles <> "办公室干事" Or User.Name<>"开发者" Then e.Cancel = TrueEnd If