MS Word COM error w/ Borders property

Nikolai Kirsebom nikolai at micon.no
Wed Nov 10 00:19:43 CET 1999


Try the following:

for i in range(word.ActiveDocument.Tables(1).Borders.Count):
   print word.ActiveDocument.Tables(1).Borders(i+1).LineStyle

and you'll have all the line styles of the first table in your active
document.

Nikolai







More information about the Python-list mailing list