Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88835

Python: how to detect if a workbook that is not saved anywhere is open?

$
0
0

So basically I have a Python script that controls a system in my company until a point where it clicks an "export" button, which generates a spreadsheet.

The system's export button just opens a worbook named Workbook1 with one sheet named Spreadsheet1. It does not save this workbook anywhere.

Is there a way to make my python script detect that this process of generating a workbook is done, by somehow detecting that the workbook is opened, then proceed to save this opened workbook in a folder?

I know how to make my python script detect if a certain workbook is saved in a folder, but since the system does not save it anywhere (it justs opens a workbook), I can't really do anything past this stage.

Thanks!


Viewing all articles
Browse latest Browse all 88835

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>