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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. excel format

excel format

Scheduled Pinned Locked Moved C#
csharpwinformscomhelptutorial
6 Posts 3 Posters 0 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.
  • D Offline
    D Offline
    djkno3
    wrote on last edited by
    #1

    I was wondering if I made a little app, if I could save the resulting file as an excel file. I searched the articles and found out you can do it through asp .net but I want just a winforms app to do it. What I want to do is either make an app that appends information to an exsisting excel file. Or info on how to make an office addin to take a file and merge it to the currently open file. Any help would be great (heck even some concisive links on information would be nice, not just www.msdn.microsoft.com)

    I S 2 Replies Last reply
    0
    • D djkno3

      I was wondering if I made a little app, if I could save the resulting file as an excel file. I searched the articles and found out you can do it through asp .net but I want just a winforms app to do it. What I want to do is either make an app that appends information to an exsisting excel file. Or info on how to make an office addin to take a file and merge it to the currently open file. Any help would be great (heck even some concisive links on information would be nice, not just www.msdn.microsoft.com)

      I Offline
      I Offline
      Ista
      wrote on last edited by
      #2

      Well actuall the best tool for this is ExcelWriter by Artisan It does all the encoding and formatting. Of course you can create a plain csv file also but excel writer is awesome for the web and winforms. This tool is a com and they might have a .net version but I doubt. But it really doesnt matter. nick I'm not an expert yet, but I play one at work. Yeah and here too.

      D 1 Reply Last reply
      0
      • I Ista

        Well actuall the best tool for this is ExcelWriter by Artisan It does all the encoding and formatting. Of course you can create a plain csv file also but excel writer is awesome for the web and winforms. This tool is a com and they might have a .net version but I doubt. But it really doesnt matter. nick I'm not an expert yet, but I play one at work. Yeah and here too.

        D Offline
        D Offline
        djkno3
        wrote on last edited by
        #3

        I was looking to make one myself (perferably not asp .net, one to work with winforms) but thanks for the link.

        I 1 Reply Last reply
        0
        • D djkno3

          I was looking to make one myself (perferably not asp .net, one to work with winforms) but thanks for the link.

          I Offline
          I Offline
          Ista
          wrote on last edited by
          #4

          Well then open an excel file binarily because you have formatting at the beginning. And really is it worth the development time? I'm not an expert yet, but I play one at work. Yeah and here too.

          D 1 Reply Last reply
          0
          • I Ista

            Well then open an excel file binarily because you have formatting at the beginning. And really is it worth the development time? I'm not an expert yet, but I play one at work. Yeah and here too.

            D Offline
            D Offline
            djkno3
            wrote on last edited by
            #5

            For me yes, it's just a little somthing a friend asked me to do for him so there is no real budget for it.

            1 Reply Last reply
            0
            • D djkno3

              I was wondering if I made a little app, if I could save the resulting file as an excel file. I searched the articles and found out you can do it through asp .net but I want just a winforms app to do it. What I want to do is either make an app that appends information to an exsisting excel file. Or info on how to make an office addin to take a file and merge it to the currently open file. Any help would be great (heck even some concisive links on information would be nice, not just www.msdn.microsoft.com)

              S Offline
              S Offline
              Stephane Rodriguez
              wrote on last edited by
              #6

              You have a number of options available to you : - use Excel automation. After all, that's what it is for. Of course, this supposes the machine executing your code has Excel installed on it. To know the automation code, just record an Excel macro and translate the resulting VB code into C#. Simple and fast. - Use ODBC / Excel and create a query that writes to a .xls file - translate this tiny and fast code[^] into C#. (If you do so, remember to share it on CodeProject).


              RSS feed

              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