method

connect

v1_8_6_287 - Show latest stable - Class: WIN32OLE
connect(...)
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.