I have surfed the web without much success, so I thought I may ask
for advice here. I am trying to find a way to find and enumerate the
internal/external links in an Excel spreadsheet (for a very large
number of Excel files). By internal/external links I mean the names of
the linked documents inside an Excel spreadsheet as outlined here:
http://msdn.microsoft.com/en-us/library/aa195780(v=office.11).aspx
I have tried with an Excel macro and also with pywin32, and I got
almost there. However, the drawback of this approach is that VB macros
and pywin32 scripts need to actually *run* Excel to find out what's
inside, and with some many files (and some of them are corrupted, old,
messy, etc...) after a while Excel becomes unstable and my whole
script crashes.
On the other hand, xlrd just reads the Excel file without actually
running Excel, so I thought it would be a good solution for my problem
The issue is, I am not sure if this information (i.e., the LinkSources
array) can be retrieved using xlrd or not. If it's possible, could you
please let me know where I should look in the documentation/sources?
If it is not possible, does anyone know how/where I should be
modifying the xlrd source code to extract that information from an
Excel file?
Thank you in advance for your help.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
Hi All,I have surfed the web without much success, so I thought I may ask
for advice here. I am trying to find a way to find and enumerate the
internal/external links in an Excel spreadsheet (for a very large
number of Excel files). By internal/external links I mean the names of
the linked documents inside an Excel spreadsheet as outlined here:http://msdn.microsoft.com/en-us/library/aa195780(v=office.11).aspx
[snip]
On the other hand, xlrd just reads the Excel file without actually
running Excel, so I thought it would be a good solution for my problem
The issue is, I am not sure if this information (i.e., the LinkSources
array) can be retrieved using xlrd or not. If it's possible, could you
please let me know where I should look in the documentation/sources?
If it is not possible, does anyone know how/where I should be
modifying the xlrd source code to extract that information from an
Excel file?