method
_invoke
v2_2_9 -
Show latest stable
- Class:
WIN32OLE
_invoke(p1, p2, p3)public
Runs the early binding method. The 1st argument specifies dispatch ID, the 2nd argument specifies the array of arguments, the 3rd argument specifies the array of the type of arguments.
excel = WIN32OLE.new('Excel.Application') excel._invoke(302, [], []) # same effect as excel.Quit