0

So far I've seen examples of invoking an Excel Application using pywinauto. Can I open an existing Excel Workbook using pywinauto ?

richie
  • 17,568
  • 19
  • 51
  • 70

1 Answers1

0

You Don't even need pywinauto for this. Just open excel with subprocess and use command line switches to open your doc

But if you insist on using pywinauto

Then Try

.MenuSelect("File -> Open")

Then

.Edit.TypeKeys("*Filename with absolutepath*", with_spaces = True)

Then

.No.Click()

Or something to that effect if those are not the actual elements names

8bitwide
  • 2,071
  • 1
  • 17
  • 24