[python-win32] ExportAsFixedFormat's ValueError
Tim Roberts
timr at probo.com
Wed Mar 27 13:21:44 EDT 2019
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, timr at probo.com
Providenza & Boekelheide, Inc.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3980 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.python.org/pipermail/python-win32/attachments/20190327/f9e7afdd/attachment.bin>
More information about the python-win32
mailing list