Re: [IronPython] Reading from a open excel document

2011-03-17 Thread Nåjde Henrik
veWorkbook worksheet=Excel.ActiveSheet #Run the update updateHandler() - - - - - - - - - - - - - - - - - - - - - - - - - - - From: Bruce Bromberek [mailto:bruce.brombe...@gmail.com] Sent: den 16 mars 2011 18:21 To: Discussion of IronPython Cc: Nåjde Henrik Subject: Re: [IronPython] Reading from a open excel docume

Re: [IronPython] Reading from a open excel document

2011-03-16 Thread Bruce Bromberek
You might want to try Parameter1 = worksheet.Range["A1"].Value or Parameter1 = worksheet.Range["A1"].Text On Wed, Mar 16, 2011 at 9:49 AM, Nåjde Henrik wrote: > Hello! > > I am trying to transfer prameters from an excel sheet to ANSYS Workbench (a > FEA software), the code is run as a macro i

Re: [IronPython] Reading from a open excel document

2011-03-16 Thread Jeff Hardy
On Wed, Mar 16, 2011 at 8:49 AM, Nåjde Henrik wrote: > Hello! > > I am trying to transfer prameters from an excel sheet to ANSYS Workbench (a > FEA software), the code is run as a macro in ANSYS workbench. > > I have adapted a code that is opening an already existing document and > successfully tr