RAISEEVENT(eventname [,arglist])

Fires an event declared at module level within a class, form or document.


eventnameThe name of the event to raise (String)
arglist(Optional) A comma delimited list of variables.

REMARKS
* If the event has not been declared within the module in which it is raised, an error will occur.
* RaiseEvent Keyword
* For the Microsoft documentation refer to docs.microsoft.com

Event MyEvent(ByVal sName As String) 

Sub DoSomething(ByVal sName As String)
   RaiseEvent MyEvent(sName)
End Sub

© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited Top