Hi All,

I have a question regarding an Excel file. I currently use the Perl modules:

Spreadsheet::ParseExcel

Spreadsheet::ParseXLSX

to read Excel .xls and .xlsx files respectively.

I would now like to be able to access the files created and last modified date information with a Perl program. I can do this for the .xlsx files because my Perl program can open the relevant xml file contained within the zip file and extract the required info.

However, I have no means of doing this for the older, binary format, .xls Excel files. I have checked the documentation for the module

Spreadsheet::ParseExcel

but cannot find any mention of a method for finding the information I am after. I have also consulted Microsoft's documentation on the Excel binary file format but found the underlying structure very difficult to understand.

So, my question: Does anyone know how I might go about using Perl to extract the required date information?

Perl Version: 5.10.1 running on Linux workstation.

Any help much appreciated.

gauss76

In reply to Find Created and Last Modified Date of Excel xls file by gauss76

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.