Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Read Excel file and create another file met some part of first excel file [modified]

Read Excel file and create another file met some part of first excel file [modified]

Scheduled Pinned Locked Moved C#
3 Posts 2 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    teymur_khan
    wrote on last edited by
    #1

    Dear all, I want read Excel file and create another new Excel file with the data inside a first file. how can select a Column in a Excel file than compare this Column to another and so on, than colect this columns and create a new file from that colected columns. -- modified at 17:49 Saturday 13th January, 2007

    P 1 Reply Last reply
    0
    • T teymur_khan

      Dear all, I want read Excel file and create another new Excel file with the data inside a first file. how can select a Column in a Excel file than compare this Column to another and so on, than colect this columns and create a new file from that colected columns. -- modified at 17:49 Saturday 13th January, 2007

      P Offline
      P Offline
      Phillip M Hoff
      wrote on last edited by
      #2

      Office applications expose a COM-based object model. If using .NET, they also include PIAs (Primary Interop Assemblies) that wrap the object model in a slightly more .NET-friendly manner. You could use this model to open, extract from, and write to Excel files. See: Excel Object Model[^] -Phil Disclaimer: I work for Microsoft as a developer on the Visual Studio Tools for Office product team.

      T 1 Reply Last reply
      0
      • P Phillip M Hoff

        Office applications expose a COM-based object model. If using .NET, they also include PIAs (Primary Interop Assemblies) that wrap the object model in a slightly more .NET-friendly manner. You could use this model to open, extract from, and write to Excel files. See: Excel Object Model[^] -Phil Disclaimer: I work for Microsoft as a developer on the Visual Studio Tools for Office product team.

        T Offline
        T Offline
        teymur_khan
        wrote on last edited by
        #3

        Thanks Phillip

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups