new(p1, p2) public

Returns a new WIN32OLE_METHOD object which represents the information about OLE method. The first argument ole_type specifies WIN32OLE_TYPE object. The second argument method specifies OLE method name defined OLE class which represents WIN32OLE_TYPE object.

tobj ='Microsoft Excel 9.0 Object Library', 'Workbook')
method =, 'SaveAs')
Show source
Register or log in to add new notes.