Access to excel spread sheets

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jordi

    Access to excel spread sheets

    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


  • Ian Collins

    #2
    Re: Access to excel spread sheets

    Jordi wrote:[color=blue]
    > 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.
    >[/color]
    Good luck!

    Excel is a closed format.

    --
    Ian Collins.

    Comment

    • Tom

      #3
      Re: Access to excel spread sheets

      On Thu, 2 Feb 2006 08:24:27 +0100, "Jordi" <jllee@terra.es > wrote:
      [color=blue]
      >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
      >[/color]
      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.

      Comment

      • Ben Radford

        #4
        Re: Access to excel spread sheets

        Ian Collins wrote:[color=blue]
        >
        > Excel is a closed format.
        >[/color]

        OpenOffice can handle Excel spreadsheets can't it?

        --
        Ben Radford
        "Why is it drug addicts and computer aficionados are both called users?"

        Comment

        • roberts.noah@gmail.com

          #5
          Re: Access to excel spread sheets


          Jordi wrote:[color=blue]
          > 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.[/color]

          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...nobod y necessarily knows.

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

          Comment

          • Default User

            #6
            Re: Access to excel spread sheets

            Jordi wrote:
            [color=blue]
            > 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.[/color]

            For all your file format questions, try wotsit first:





            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.

            Comment

            • Ian Collins

              #7
              Re: Access to excel spread sheets

              Ben Radford wrote:[color=blue]
              > Ian Collins wrote:
              >[color=green]
              >>
              >> Excel is a closed format.
              >>[/color]
              >
              > OpenOffice can handle Excel spreadsheets can't it?
              >[/color]
              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.

              Comment

              • roberts.noah@gmail.com

                #8
                Re: Access to excel spread sheets


                Ian Collins wrote:[color=blue]
                > Ben Radford wrote:[color=green]
                > > Ian Collins wrote:
                > >[color=darkred]
                > >>
                > >> Excel is a closed format.
                > >>[/color]
                > >
                > > OpenOffice can handle Excel spreadsheets can't it?
                > >[/color]
                > 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++'[/color]

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

                Comment

                • Ian Collins

                  #9
                  Re: Access to excel spread sheets

                  roberts.noah@gm ail.com wrote:[color=blue]
                  > Ian Collins wrote:
                  >[color=green]
                  >>Ben Radford wrote:
                  >>[color=darkred]
                  >>>Ian Collins wrote:
                  >>>
                  >>>
                  >>>>Excel is a closed format.
                  >>>>
                  >>>
                  >>>OpenOffice can handle Excel spreadsheets can't it?
                  >>>[/color]
                  >>
                  >>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++'[/color]
                  >
                  >
                  > Obviously he can answer as he wants to....besides, XML isn't C++ either.
                  >[/color]
                  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.

                  Comment

                  Working...