.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Password protection in excel using OWC

Posted By: nishithraj     Posted Date: January 21, 2010    Points:2   Category :ASP.Net
I'm using OWC 11.0 in ASP.NET and C# to create excel file.

I need to protect/unprotect the sheet by a password. Does any one have any idea???

It should be done by C# syntax...

Author: Rahul             
Posted Date: January 21, 2010     Points: 5   

Hi Nishit,

try like this to provide password in Excel application

WorkbookObject.Password = "YourPassword";

Author: Lalij Mer             
Posted Date: January 27, 2010     Points: 5   

try this link


Please Check my answer if you help....
Thank You...


Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend