5 Replies Latest reply: Dec 5, 2017 3:16 AM by Shubham Kumar RSS

    How to open Password protected Excel file in qlikview?

    Siva Boggarapu

      Hello Everyone,


      Good Morning!


      I have one excel file which consist of Password. I am trying  to open  Password excel file in Qlikview, it's giving error like"Cannot read BIFF file".


      Could you please explain me how to open?





        • How to open Password protected Excel file in qlikview?
          Shubham Kumar

          Dear Siva,



          Here is some work around.. but the excel file needs to be opened in  MS Excel first during the below steps..


          1. The excel file should be opened first in the system where QlikView is extracting that excel data (with supplying the password)

          2. Create ODBC connection for the encrypted (password protected) excel file. Provide DSN Name ,Choose the Excel file and proper excel version (latest is version12)

          3. In the QlikView script, choose "ODBC" and connect,choose the DSN you created in step2 and provide password and leave the userid blank.

          4.Test the connection

          5.Click OK

          6.Click "select" and "tick" the "system Fields" check box. You should be able to see the sheets.



          Whenever there is data extraction needed from the protected excel into QlikView, you should open the protected excel file in excel first otherwise you will get error. "SQL##f-SqlState:S1000,ErrorCode:4294962281,ErrorMsg:[Microsoft]ODBC Excel Driver]External table is not in the expected format".


          SO KEEP the Excel file Open !!!!??? in the QlikView Server (where the data extraction happens )

          Seems the the EXCEL ODBC driver needs the excel file to be opened in MS Excel..


          If any other better way, pls update..


          Let me know if it works...





          • Re: How to open Password protected Excel file in qlikview?
            Bimala Mishra



            I have excel 2013. I created the ODBC driver by the above mentioned method, but could not read it in QlikView. It does not show me the file for which I have created the ODBC. Is it because my Excel file is stored in .xlsx format and I am creating ODBC connection with .xls. What ODBC driver I should use to create DSN for Excel  2013 ?


            Kind Regards,