Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有代码:
Private Sub TempCombo_Exit(Cancel As Integer) MsgBox "test" End Sub
但是当我从 TempCombo 退出时什么都没有发生?
怎么了?
Obs:我需要在失去焦点时进行验证
ActiveX 组合框没有退出事件。转到工作表的模块并从左侧下拉列表中选择 TempCombo,您将从右侧下拉列表中获得事件列表。我认为 LostFocus 事件是您想要的。