Kaweit wrote:

i make a question:
doc.ExportAsFixedFormat(output, constants.wdExportFormatPDF,|Item||=||constants.wdExportDocumentWithMarkup, CreateBookmarks ||=||constants.wdExportCreateHeadingBookmarks)|      but "ValueError",the argument was wrong.  Cloud you help me? I think I need a Win32com Docutment.

This is not a win32com issue, it is a Word issue.  And it would have been easier if you had told us that you were using Word instead of making us guess.  We don't know were "ExportAsFixedFormat" comes from.

Why didn't you cut-and-paste us the exact error message?  Did it tell you which argument was wrong?  What, exactly, is "output"? It would be helpful to see the code leading up to this as well.

--
Tim Roberts, t...@probo.com
Providenza & Boekelheide, Inc.


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32

Reply via email to