往word里的表格写入文本时,遇到如下错误:
[错误] [2025-09-02 23:44:20.080] (-2147352567, '发生意外。', (0, 'Microsoft Word', '集合所要求的成员不存在。', 'wdmain11.chm', 25421, -2146822347), None)
[错误来源]
新建应用 > A- > 行13: 表格写入内容
Word 扩展 > write_table > 行36: write_table(word_instance, index, row, col, value)
Word 扩展 > write_table > 行24: table = word_instance.document.Tables(index)

执行 table = word_instance.document.Tables(index) 时出错: (-2147352567, '发生意外。', (0, 'Microsoft Word', '集合所要求的成员不存在。', 'wdmain11.chm', 25421, -2146822347), None)
但是就一个表格,有没有大神可以帮忙解决一下