Python Forum
Access xlsm file that has been open
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Access xlsm file that has been open
#3
If the question is "can I read inside Excel's memory to figure out which file it s currently working with (assuming there is only one...) and do things to it with Python" the answer is no, and anyway if you change anything in the file, Excel won't see it and will overwrite them on exit.

So, why are you trying to do this?
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Reply


Messages In This Thread
Access xlsm file that has been open - by ian - Jun-25-2017, 02:47 AM
RE: Access xlsm file that has been open - by Ofnuts - Jun-25-2017, 10:35 AM
RE: Access xlsm file that has been open - by ian - Jun-27-2017, 12:41 AM
RE: Access xlsm file that has been open - by ian - Jun-27-2017, 06:10 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CSV file dont open with code ayaz786amd 2 2,658 Nov-21-2018, 09:13 AM
Last Post: ayaz786amd
  [split] Locate and open csv file agocomp 3 3,448 Dec-02-2017, 07:02 AM
Last Post: buran
  Open excel file using Python cioer23 8 19,578 Jul-26-2017, 10:57 AM
Last Post: Larz60+
  access a very large file? As an array or as a dataframe? Angelika 5 5,021 May-18-2017, 08:15 AM
Last Post: Angelika

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020