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. Database & SysAdmin
  3. Database
  4. Password protected excel file reading from c#.net - need help?

Password protected excel file reading from c#.net - need help?

Scheduled Pinned Locked Moved Database
csharphelptutorialquestion
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.
  • S Offline
    S Offline
    shw 234
    wrote on last edited by
    #1

    Hi, Can somebody guide me on reading a password protected excel file with c#.net? I am using VS2005, Excel 2003/2007 (? Does it make difference?) Appreciate your help. Thanks Sunitha

    W J 2 Replies Last reply
    0
    • S shw 234

      Hi, Can somebody guide me on reading a password protected excel file with c#.net? I am using VS2005, Excel 2003/2007 (? Does it make difference?) Appreciate your help. Thanks Sunitha

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      One way to do that is to use Excel interop from C#. Refer to: Workbook Members (2003 System)[^]. Note, this question isn't exactly about databases so perhaps a better forum would have been for example C#[^]

      The need to optimize rises from a bad design. My articles[^]

      1 Reply Last reply
      0
      • S shw 234

        Hi, Can somebody guide me on reading a password protected excel file with c#.net? I am using VS2005, Excel 2003/2007 (? Does it make difference?) Appreciate your help. Thanks Sunitha

        J Offline
        J Offline
        Jerry Hammond
        wrote on last edited by
        #3

        Get the password from those who protected the worksheet/workbook.

        The world is a stage and most of us are desperately unrehearsed. —Sean O’Casey, Playwright

        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