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. Changes in already excisted excel file

Changes in already excisted excel file

Scheduled Pinned Locked Moved C#
tutorial
3 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.
  • M Offline
    M Offline
    Member 3879881
    wrote on last edited by
    #1

    Hi i have a Already existed excel file in my root path of the application, In tht i have to clear particular cells range like A2 to F75. And i have insert my new datas into those cells,after tht its has to getting save on enduser side, Please guide me,any one having idea baout this Thanks & Regards, Member 3879881, please don't forget to vote on the post

    D A 2 Replies Last reply
    0
    • M Member 3879881

      Hi i have a Already existed excel file in my root path of the application, In tht i have to clear particular cells range like A2 to F75. And i have insert my new datas into those cells,after tht its has to getting save on enduser side, Please guide me,any one having idea baout this Thanks & Regards, Member 3879881, please don't forget to vote on the post

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Start with Google results for "c# excel"[^] and then "C# excel set call value"[^]. Any changes you make to the files cannot be done while the file is open. All users have to close the file before you can make changes to it.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak

      1 Reply Last reply
      0
      • M Member 3879881

        Hi i have a Already existed excel file in my root path of the application, In tht i have to clear particular cells range like A2 to F75. And i have insert my new datas into those cells,after tht its has to getting save on enduser side, Please guide me,any one having idea baout this Thanks & Regards, Member 3879881, please don't forget to vote on the post

        A Offline
        A Offline
        Alan Balkany
        wrote on last edited by
        #3

        This is a good starting point: http://csharp.net-informations.com/excel/csharp-open-excel.htm[^] The UsedRange property of Microsoft.Office.Interop.Excel.Worksheet gives the cells that have values. The Microsoft.Office.Interop.Excel.Range type represents ranges of cells. The Cells property of Range is a two-dimensional array that lets you access individual cells. The Value2 property of a Range representing a single cell gives you the value of that cell.

        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