6 Replies Latest reply: Feb 3, 2012 3:14 AM by Shubham Kumar RSS

    Password protection Excel, qvd

      Hi,

      is there an option to load password protected excel files or can i set passwords to a qvd file?
      Thanks in advance

      Aloah

        • AW:Password protection Excel, qvd
          Martin Pohl

          Looking for different fees in this forum it looks like:

          you can't do this.

          No ideas why not, in my opinion this should be possible.

          Regards

          • Password protection Excel, qvd
            Steve Dark

            Hi there,

            This can be achieved using an ODBC connection, see my post here:

            http://community.qlik.com/forums/p/36844/166731.aspx

            Regards,
            Steve

            • Password protection Excel, qvd

              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.

               

              NOTE

              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..

              • Re: Password protection Excel, qvd

                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.

                 

                NOTE

                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..