【发布时间】:2016-03-04 22:46:38
【问题描述】:
如果仅针对“每个项目限制”选中“是”,则适用表格 A。当勾选“每个位置限制”时,表格 B 将适用。但如果我同时检查两者,则适用表格 C。
我包含了用于每个复选框的电子表格和公式。 check9 是针对每个项目的限制,而 check10 是针对每个位置的限制。
Private Sub check9_Click()
If check9.Value = True Then
Range("G24").Value = "Form A"
Else
Range("G24").Value = " "
End If
End Sub
Private Sub check10_Click()
If check10.Value = True Then
Range("G26").Value = "Form B"
Else
Range("G26").Value = " "
End If
End Sub
【问题讨论】: