Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Keep It Simple, Stupid
 
PerlMonks  

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)
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?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://945911]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2014-04-16 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (414 votes), past polls