Re: automatically insert text in ms-word properties

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tim Rowe

    Re: automatically insert text in ms-word properties

    2008/10/7 Peter Wang <peterwang@vip. qq.com>:
    "gita ziabari" <gitaziabari@gm ail.comwrites:
    >
    >All,
    >>
    >I wanna use python to automatically insert text in ms-word properties.
    >Anyone could help me?
    Why not use VBA for that work?
    Why use VBA?

    It's actually not a straight choice. VBA is pretty much all that's
    available if you're doing it from *inside* Word, it's not available if
    you're doing it from *outside* Word. VB is available from outside
    Word, but I for one would much sooner use Python in that case.

    The difficulty isn't with the language, it's with lack of
    documentation on Office Automation access to document properties. If
    Gita can find that, Python should be at least as good for the job as
    VB (and I think I'm being unduly kind to VB in putting it like that!)

    --
    Tim Rowe
Working...