Re: [python-win32] ExportAsFixedFormat's ValueError

2019-03-27 Thread Tim Roberts

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.




smime.p7s
Description: S/MIME Cryptographic Signature
___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32


[python-win32] ExportAsFixedFormat's ValueError

2019-03-27 Thread Kaweit
Hello:



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.



--



 Best regards
Kaweit___
python-win32 mailing list
python-win32@python.org
https://mail.python.org/mailman/listinfo/python-win32