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. MS Word and Excel from C#

MS Word and Excel from C#

Scheduled Pinned Locked Moved C#
csharpquestion
4 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.
  • P Offline
    P Offline
    Piyush Vaishnav
    wrote on last edited by
    #1

    I have one multiline textbox. I want to open Microsoft word and write textbox contents on MS word. One more thing : I want to write DataGridview Table onto MS ecxel sheet. ??? thanx in advance....

    M A 2 Replies Last reply
    0
    • P Piyush Vaishnav

      I have one multiline textbox. I want to open Microsoft word and write textbox contents on MS word. One more thing : I want to write DataGridview Table onto MS ecxel sheet. ??? thanx in advance....

      M Offline
      M Offline
      Manas Bhardwaj
      wrote on last edited by
      #2

      You need to use MS Office Interops

      Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.

      1 Reply Last reply
      0
      • P Piyush Vaishnav

        I have one multiline textbox. I want to open Microsoft word and write textbox contents on MS word. One more thing : I want to write DataGridview Table onto MS ecxel sheet. ??? thanx in advance....

        A Offline
        A Offline
        Anthony Mushrow
        wrote on last edited by
        #3

        I want a toasted cheese sandwich but sometimes we can't always have what we want. Look up the interops like t'other member said, and then if you get stuck you can ask about the specific problem you are having and people will be happy to help.

        My current favourite word is: I'm starting to run out of fav. words!

        -SK Genius

        Game Programming articles start -here[^]-

        P 1 Reply Last reply
        0
        • A Anthony Mushrow

          I want a toasted cheese sandwich but sometimes we can't always have what we want. Look up the interops like t'other member said, and then if you get stuck you can ask about the specific problem you are having and people will be happy to help.

          My current favourite word is: I'm starting to run out of fav. words!

          -SK Genius

          Game Programming articles start -here[^]-

          P Offline
          P Offline
          Piyush Vaishnav
          wrote on last edited by
          #4

          Thanks for quick reply... Problem of MS Word from C# has been done. Now i want to Write Tabular data from DataGridView to MS Excel Sheet. I want Excel sheet also in Tabular format. Opening of Excel sheet and writing data into it, has also been done. But format of DataGridView into Excel sheet is not coming.

          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