下面命令如何简化
If e.Col.Name = "分公司" Then
e.Cancel = True '禁止进入编辑状态
End If
If e.Col.Name = "操作记录_增加人员" Then
e.Cancel = True '禁止进入编辑状态
End If
If e.Col.Name = "操作记录_增加日期" Then
e.Cancel = True '禁止进入编辑状态
End If
If e.Col.Name = "操作记录_修改人员" Then
e.Cancel = True '禁止进入编辑状态
End If
If e.Col.Name = "操作记录_修改日期" Then
e.Cancel = True '禁止进入编辑状态
End If