Interacting with buttons / macros inside excel automatically

I am trying to find a way to make a python script that finds all the buttons / checkboxes inside an excel document and randomly interacts with them.

I tried using pywinauto, but it does not find the actual objects inside the document (perhaps because it is a vb object, not a regular GUI).

How to do it with python? Or maybe there is another way to do this?

Here is a file like excel

Thanks.

+6
source share
1 answer

! , pywinauto. Inspect.exe , - ! Inspect.exe. , - . , pywinauto.Application(backend="uia"). , /.

win32com.client. , COM Excel . .

+2

All Articles