R: reading an excel file in C?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Turner, GS \(Geoff\)

    R: reading an excel file in C?


    [color=blue]
    > -----Original Message-----
    > From: siliconwafer [mailto:spdandav ate@yahoo.com]
    > Posted At: 19 August 2005 15:20
    > Posted To: c
    > Conversation: reading an excel file in C?
    > Subject: reading an excel file in C?
    >
    >
    > Hi All,
    > I want to know,How can one read an Excel file into C,cell by cell?
    > Further I want to compare 2 excel files,cell by cell.
    > I know a crude way which is not working.
    > I can open an xls file and read it character by character untill a
    > '\t'(TAB).Then again read it char by char.
    > I think this should work since an Excel file is nothing but a tab
    > seperated strings.Am I correct?
    > What can be an elegant way?
    > Thanks,
    > -Siliconwafer
    >[/color]

    Only if the file is saved as an CSV file, with TAB delimiters.
    Otherwise it could be quotes and commas seperating cells, again
    if it's a CSV.
    If it's an XLS, then you need to find the file format.

    GST

  • Steffen Buehler

    #2
    Re: R: reading an excel file in C?

    Turner, GS (Geoff) wrote:
    [color=blue][color=green]
    >> From: siliconwafer [mailto:spdandav ate@yahoo.com][/color][/color]
    [color=blue][color=green]
    >> I want to know,How can one read an Excel file into C,cell by cell?[/color][/color]
    [color=blue]
    > If it's an XLS, then you need to find the file format.[/color]

    Which is proprietary, of course. And no C stuff, anyway.

    Hint: googling for "WorkbooksP tr" could help ...

    Best regards
    Steffen

    Comment

    Working...