[python-win32] Registering an excel addin

mjohnson mjohnson at mpjconsultancy.com
Fri Apr 13 18:25:15 CEST 2007


Apologies if this is in an incorrect format, but I have just stumbled on the list whilst trying to solve my problem

from win32com.client import Dispatch
xlApp = Dispatch("Excel.Application")
time.sleep(40)
xlApp.Visible = 1
wb=xlApp.Workbooks.Add()
xlApp.RegisterXLL("C:\Program Files\TestApp\Program\EXLXL32.XLL")

the register step returns false and does not register EXLXL32.XLL.

I haven't included anything else because the following steps are dependant on the add-in being loaded which it is not

Thanks in advance
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-win32/attachments/20070413/76fc5e42/attachment.html 


More information about the Python-win32 mailing list