Click here to Skip to main content
15,893,266 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have multiple excels open on my computer, which are in different instances. I am using below script to get complete path of all the files, but its not working.

wb is giving me a list of names of all the open excels but not complete path.

What I have tried:

Python
import xlwings as xw
wb = xw.books
wb.fullname
Posted
Updated 24-Jul-21 8:44am
Comments
Richard MacCutchan 24-Jul-21 8:52am    
You should check the documentation of xlwings.
Mohit Garg 2021 24-Jul-21 9:04am    
tried, didn't find any solution.
Richard MacCutchan 24-Jul-21 9:08am    
Then maybe it does not provide that information.

1 solution

You're using a 3rd party library that doesn't appear to have a user base here. You're BEST source of information on that library is the authors of that library and/or a forum dedicated to it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900