method

connect

v2_6_3 - Show latest stable - Class: WIN32OLE
connect(p1, *args)
public

Returns running OLE Automation object or WIN32OLE object from moniker. 1st argument should be OLE program id or class id or moniker.

WIN32OLE.connect('Excel.Application') # => WIN32OLE object which represents running Excel.