MS Word COM error w/ Borders property

Mark Hammond mhammond at
Wed Nov 10 04:15:25 CET 1999

john whittaker wrote in message <38289ED8.9BA2645A at>...
>I got the following error when I tried to use get at the bottom border
>from a borders collection:
>>>> borders = word.ActiveDocument.Tables[0].Borders
>>>>borders[ -3 ]

Try using borders.Item(-3)

Using the "-3" syntax creates an enumerator, in which the -ve index is


More information about the Python-list mailing list