Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris

Re^4: Spreadsheet::WriteExcel large files (text versus binary format)

by mrguy123 (Hermit)
on Jan 02, 2012 at 13:08 UTC ( #945911=note: print w/replies, xml ) Need Help??

in reply to Re^3: Spreadsheet::WriteExcel large files (text versus binary format)
in thread Spreadsheet::WriteExcel large files

They both contain the same data. The smaller file was created by opening the large file and saving it again (hence my confusion)
It makes sense that the formulas might have been lost in the process, but it is still surprising that the size difference is so huge.
  • Comment on Re^4: Spreadsheet::WriteExcel large files (text versus binary format)

Replies are listed 'Best First'.
Re^5: Spreadsheet::WriteExcel large files (text versus binary format)
by BrowserUk (Pope) on Jan 02, 2012 at 13:16 UTC

    .xls files can contain all sorts of stuff. In addition to the formulae and values, they can also contain whole libraries of macrocode; lookup tables; formatting instructions etc. I think they can also contain embedded images and graphs though I'm not sure about that. They are also known to contain all sorts of other crap, some of which can have security implications.

    As you are creating the smaller file by only copying over the values of a range of cells, all that other stuff will not exist in the file created.

    With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.

    The start of some sanity?

      Thanks for your answers!

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://945911]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2018-03-21 05:41 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (263 votes). Check out past polls.