By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,978 Members | 1,831 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,978 IT Pros & Developers. It's quick & easy.

Access to excel spread sheets

P: n/a
Hello,

can anyone tell what is the best way to access to a excel spread sheet from
c++?
I would be interested in read it and write it.

Thank you in advance
Jordi
Feb 2 '06 #1
Share this Question
Share on Google+
8 Replies


P: n/a
Jordi wrote:
Hello,

can anyone tell what is the best way to access to a excel spread sheet from
c++?
I would be interested in read it and write it.

Good luck!

Excel is a closed format.

--
Ian Collins.
Feb 2 '06 #2

P: n/a
Tom
On Thu, 2 Feb 2006 08:24:27 +0100, "Jordi" <jl***@terra.es> wrote:
Hello,

can anyone tell what is the best way to access to a excel spread sheet from
c++?
I would be interested in read it and write it.

Thank you in advance
Jordi

There is an extensive Visual Basic interface into Excel and several
books available on the topic. I'd start there and if you are dedicated
to C++ ... use the examples in the Visual Basic/Excel books as a
starting point.

Feb 2 '06 #3

P: n/a
Ian Collins wrote:

Excel is a closed format.


OpenOffice can handle Excel spreadsheets can't it?

--
Ben Radford
"Why is it drug addicts and computer aficionados are both called users?"
Feb 2 '06 #4

P: n/a

Jordi wrote:
Hello,

can anyone tell what is the best way to access to a excel spread sheet from
c++?
I would be interested in read it and write it.


First, ask you question in an appropriate newsgroup. This group is not
OS specific and so questions of an OS specific nature are not topical
and besides...nobody necessarily knows.

As I recall, MS opens office files as databases so go look at the
database functionality.

Feb 2 '06 #5

P: n/a
Jordi wrote:
Hello,

can anyone tell what is the best way to access to a excel spread
sheet from c++?
I would be interested in read it and write it.


For all your file format questions, try wotsit first:

http://www.wotsit.org/search.asp?page=2&s=database

Brian
--
Please quote enough of the previous message for context. To do so from
Google, click "show options" and use the Reply shown in the expanded
header.
Feb 2 '06 #6

P: n/a
Ben Radford wrote:
Ian Collins wrote:

Excel is a closed format.


OpenOffice can handle Excel spreadsheets can't it?

Yes, but it ain't C++!

I suppose you could answer the OP by saying 'import into OO and save in
OO's native format, then open the OO XML files with C++'

--
Ian Collins.
Feb 2 '06 #7

P: n/a

Ian Collins wrote:
Ben Radford wrote:
Ian Collins wrote:

Excel is a closed format.


OpenOffice can handle Excel spreadsheets can't it?

Yes, but it ain't C++!

I suppose you could answer the OP by saying 'import into OO and save in
OO's native format, then open the OO XML files with C++'


Obviously he can answer as he wants to....besides, XML isn't C++ either.

Feb 2 '06 #8

P: n/a
ro**********@gmail.com wrote:
Ian Collins wrote:
Ben Radford wrote:
Ian Collins wrote:
Excel is a closed format.
OpenOffice can handle Excel spreadsheets can't it?


Yes, but it ain't C++!

I suppose you could answer the OP by saying 'import into OO and save in
OO's native format, then open the OO XML files with C++'

Obviously he can answer as he wants to....besides, XML isn't C++ either.

I didn't say it was, but it's a relatively trivial task in C++ to work
with a plain text file than a closed binary one.

--
Ian Collins.
Feb 2 '06 #9

This discussion thread is closed

Replies have been disabled for this discussion.