PeťaT
01.08.2008, 08:28
Dobrý denJaké jsou možnosti pro zprovoznění kódu který něco udělá při nějaké události ve VBAZkouším něco takového a nejede toPrivate Sub oAppEvents_OnCloseView(ByVal ViewObject As View, ByVal BeforeOrAfter As EventTimingEnum, ByVal Context As NameValueMap, HandlingCode As HandlingCodeEnum) If BeforeOrAfter = kBefore Then MsgBox "OnCloseView kBefore", vbInformation, "AppEvent" End If If BeforeOrAfter = kAfter ThenMsgBox "OnCloseView kAfter", vbInformation, "AppEvent" End IfEnd Sub