How to extract a OLE table from a excel file using Python

非 Y 不嫁゛ 提交于 2020-07-22 21:41:06

问题


I'm having some trouble, trying to extract an OLE table form an Excel file. I can open it but I want to save it. I am using.

excel = client.Dispatch("Excel.Application") excel.Visible = True

wb = excel.Workbooks.Open("C:/Users/user/doc/test.xlsx")
ws = wb.Worksheets("Folha2")

O = ws.OLEObjects(2)
O.Verb()
O.save() // dont work

来源:https://stackoverflow.com/questions/55685381/how-to-extract-a-ole-table-from-a-excel-file-using-python

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!