Re: [python-win32] excel xla runautomacros

2007-04-25 Thread Tim Roberts
Hussain Jiwani wrote: > Following is a snippet of code that I have been using to figure out if > an addin in installed. > > xlApp = win32com.client.dynamic.Dispatch('Excel.Application') > xlApp.DisplayAlerts = 0 > xlApp.Interactive = 1 > if xlApp.Application.Addins.C

Re: [python-win32] excel xla runautomacros

2007-04-25 Thread Hussain Jiwani
xlApp.quit return xlApp.Application.Addins(lnAddins).Installed = 0 xlApp.Application.Addins(lnAddins).Installed = 1 Hussain -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Roberts Sent: Wednesday, April 25, 2007 12:

Re: [python-win32] excel xla runautomacros

2007-04-25 Thread Tim Roberts
mjohnson wrote: > I am having a problem with an excel add-in which is installed via > xlApp.Workbooks.Open("C:/Program > Files/Program/XLOF32.xla").RunAutoMacros(1) > > I can then add the add-in and install it via > xlApp.AddIns.Add ("C:/Program Files/Program/XLOF32.xla",True) > xlApp.AddIns.Item(I

[python-win32] excel xla runautomacros

2007-04-25 Thread mjohnson
I am having a problem with an excel add-in which is installed via xlApp.Workbooks.Open("C:/Program Files/Program/XLOF32.xla").RunAutoMacros(1) I can then add the add-in and install it via xlApp.AddIns.Add ("C:/Program Files/Program/XLOF32.xla",True) xlApp.AddIns.Item(Index='Excel Functions').Inst