update a word-bookmark with the win32.com extension

Christian Lehmann docelm at web.de
Mon Nov 24 09:01:53 CET 2003

> Please include the error message in your postings.

Here is the error messages:

Traceback (most recent call last):
  File "D:\DataFinder\python\readFormFields.py", line 95, in ?
    date        = searchField("date")
  File "D:\DataFinder\python\readFormFields.py", line 70, in searchField
    field.Text = "Hell"
  File "C:\Python\lib\site-packages\win32com\client\__init__.py", line 377, in _
    apply(self._oleobj_.Invoke, args + (value,) + defArgs)
pywintypes.com_error: (-2147352567, 'exception error occured.', (0, 'Microsof
t Word', 'The area can´t be deleted', 'C:\\Programs\\Microsoft
Office\\Office10\\1031\\wdmain10.chm', 25508, -2146822260), None)

More information about the Python-list mailing list