2.1.47 SetRangeEvent


Description

Syntax

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 )

Parameters

strRangeName
--
eventtype
--
bSet
--

Return

Remark

Examples

Python

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)

Version Information

8.0SR2

See Also