VB: Function SetRangeEvent(strRangeName As ByVal String, eventtype As ByVal Object, bSet As ByVal Object ) As Boolean
C++: bool SetRangeEvent(LPCSTR strRangeName, _variant_t eventtype, _variant_t bSet )
C#: bool SetRangeEvent(string strRangeName, var eventtype, var bSet )
import OriginExt as O # assume there are worksheets and matrices in current Origin session. app = O.Application(); app.Visible = app.MAINWND_SHOW app.SetRangeEvent("myrng", 1, True)
8.0SR2