Hello Tim!
print ('%r' % workbook.BuiltinDocumentProperties)
gives me
<COMObject <unknown>>
What can I do with such an object?
Mit freundlichen Grüßen
Dr. Hartmut Niemann
Siemens AG
Mobility Division
Rolling Stock
Standardization, Remote Control, Display
MO RS LM EN CCI SRD
Werner-von-Siemens-Str. 67
91052 Erlangen, Deutschland
Mobil: +49 173 5342327
mailto:[email protected]
www.siemens.com/ingenuityforlife
-----Ursprüngliche Nachricht-----
Von: python-win32
[mailto:[email protected]] Im Auftrag
von Tim Roberts
Gesendet: Mittwoch, 28. Februar 2018 18:20
An: Python-Win32 List
Betreff: Re: [python-win32] Excel / Word: setting properties
Niemann, Hartmut wrote:
>
>
>
> How do I set the [Excel workbook] standard property "Keywords" to
> "C_Restricted" and the user property "Document Confidentiality" to
> "Restricted"?
>
The Document object should have a BuiltinDocumentProperties collection and a
CustomDocumentProperties collection that you can query and manipulate. You'll
have to discover whether the properties you need to tweak are builtin or not.
--
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.
_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32
_______________________________________________
python-win32 mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-win32