Read Excel lines with C++

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

Does anyone happen to know if there is a relatively easy way to read lines
of an
Excel spreadsheet in C++. I am not a real programming pro so I hope it will
not be to hard?

Please tell me if I should post this question in an other discussion group.

Barry
 
Does anyone happen to know if there is a relatively easy way to read lines
of an
Excel spreadsheet in C++. I am not a real programming pro so I hope it will
not be to hard?

Barry,

The neatest way of doing this is to use the Excel object model (COM).
While you can do this in C++ it's the sort of task that's much easier
in Visual Basic - especially if you're not confident with C++
programming. You'll probably also find most of the examples will be in
VB too!

Dave
 
David Lowndes said:
The neatest way of doing this is to use the Excel object model (COM).
While you can do this in C++ it's the sort of task that's much easier
in Visual Basic - especially if you're not confident with C++
programming. You'll probably also find most of the examples will be in
VB too!

Another possibly easier method (and maybe with more examples in C/C++ around
the Web -- or at least easier to convert to C/C++) is to use the Microsoft
Excel ODBC driver to read data from Excel files.
 
Back
Top