Hello
I'm trying to insert an object into an Excel sheet with the following code:
import win32com.client
xlapp = win32com.client.Dispatch(Excel.Application)
xlapp.Visible = 1
xlapp.Workbooks.Add()
xlapp.ActiveSheet.OLEObjects.Add(FileName = C:\\mytext.tx', Link=False,
DisplayAsIcon=False).Select
Mark Norley wrote:
Hello
I'm trying to insert an object into an Excel sheet with the following code:
import win32com.client
xlapp = win32com.client.Dispatch(Excel.Application)
xlapp.Visible = 1
xlapp.Workbooks.Add()
xlapp.ActiveSheet.OLEObjects.Add(FileName = C:\\mytext.tx', Link=False,