thon-win32@python.org
Subject: Re: [python-win32] Excel and OLEObjects
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"
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"', L
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).Sel