[python-win32] Registering an excel addin

Mark Mc Mahon mark.m.mcmahon at gmail.com
Fri Apr 13 18:53:09 CEST 2007


Hi,

The problem may be the following...
"C:\Program Files\TestApp\Program\EXLXL32.XLL" != r"C:\Program
Files\TestApp\Program\EXLXL32.XLL"

Otherwise I have no idea about XLL files :-)

Mark

On 4/13/07, mjohnson <mjohnson at mpjconsultancy.com> wrote:
> 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
> _______________________________________________
> Python-win32 mailing list
> Python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
>


More information about the Python-win32 mailing list