Open Password Protected Excel file

Posted by: SElgram on 4 January 2019, 6:46 pm EST

    • Post Options:
    • Link

    Posted 4 January 2019, 6:46 pm EST

    Hello,

    I am trying to open an excel file that is password protected using

    
    var book = new C1XLBook();
    book.Load(excelFileName);
    
    

    Currently this is throwing the error “Central dir not found”, I’m assuming this is because the Excel file is password protected. Does ComponentOne support a way to open an Excel file that is password protected ?

  • Posted 7 January 2019, 12:26 am EST

    Hello,

    As mentioned in the limitations in the documentation link below, C1Excel does not support loading password protected excel files:

    https://help.grapecity.com/componentone/NetHelp/c1excel/webframe.html#excelfornetlimitation.html

    Let us know if you need any further assistance.

    Best Regards,

    Esha

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels