comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Looking for IDL code to read Excel spreadsheet
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Looking for IDL code to read Excel spreadsheet [message #25757 is a reply to message #25681] Wed, 11 July 2001 18:57 Go to previous message
mperrin+news is currently offline  mperrin+news
Messages: 81
Registered: May 2001
Member
Med Bennett <mbennett@indra.com> wrote:
> I use data from Excel all the time, but I always export them to a .CSV (commas
> separate values) format first. Then they can be read into IDL easily.
> Alternatively, you could study one of the files with a hex editor to figure out
> where the data that you want actually starts and how the files are structured, and
> then use binary reads. Good luck -

Don't even think about trying to do it in binary - .xls files, like .doc and
the rest of the MS Office file formats, are in an extremely complicated format
called DocFile, which basically is an entire file-system-in-a-file, complete
with FAT tables, directory structures, and balanced red-black trees wrapped
around all the actual spreadsheet data. You *don't* want to have to write a
parser for that mess in IDL. Stick with the CSV export - fast and easy.

- Marshall
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: a vector of indices of the largest elements in a vector not exceeding the elements of some other vector
Next Topic: 3-D plotting

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:25:16 PDT 2025

Total time taken to generate the page: 0.00463 seconds