Re: win32 com problem

2006-12-05 Thread Mike P
No Problem, Thanks for your help so far, i've sent this problem off to SPSS as it seems it doesn't work on a work colleagues machine either Thanks for your time though Mike -- http://mail.python.org/mailman/listinfo/python-list

Re: win32 com problem

2006-12-05 Thread John Machin
Mike P wrote: > Thanks for the quick reply, > > the code i am running is the following > > import win32com.client > xl = win32com.client.Dispatch("Excel.Application") > ppt = win32com.client.Dispatch("PowerPoint.Application") > ppt.Visible = 1 #open MS Powerpoint > xl.Visible = 1 #open MS Excel >

Re: win32 com problem

2006-12-05 Thread Mike P
Thanks for the quick reply, the code i am running is the following import win32com.client xl = win32com.client.Dispatch("Excel.Application") ppt = win32com.client.Dispatch("PowerPoint.Application") ppt.Visible = 1 #open MS Powerpoint xl.Visible = 1 #open MS Excel xl.Workbooks.Open('%s/working_out

Re: win32 com problem

2006-12-05 Thread John Machin
Mike P wrote: > I've got a slight problem when running an excel macro from python using > the win32.com.client module, in that it says it can't load the DLL file Does it? All I see is a message that it can't find a macro. > (it doesn't say which one) What happens when you run the macro from the