Yes, that was it. I just needed to restart the host process. Thanks "Mark Hammond" <skippy.hamm...@gmail.com> wrote in message news:mailman.51.1282784920.29448.python-l...@python.org... > On 25/08/2010 10:33 PM, Paul Hemans wrote: >> File "C:\development\PyXLS\pyXLS.py", line 13, in createSheet >> def createBook(self): >> AttributeError: WrapXLS instance has no attribute '_book' >> pythoncom error: Python error invoking COM method. >> >> Can anyone help? > > That line seems an unlikely source of the error. Note that as win32com > uses an in-process model by default, your problem may be that you changed > your implementation but didn't restart the hosting process - and therefore > are still using an earlier implementation. > > HTH, > > Mark
-- http://mail.python.org/mailman/listinfo/python-list