<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to Load password protected excel file in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-Load-password-protected-excel-file/m-p/1181027#M888298</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronnie Taborn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Working on that. I am not well versed in using macros. It will be great if someone can help with macros.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2016 05:54:22 GMT</pubDate>
    <dc:creator>rajuamet</dc:creator>
    <dc:date>2016-09-13T05:54:22Z</dc:date>
    <item>
      <title>How to Load password protected excel file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-password-protected-excel-file/m-p/1181024#M888295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Techies,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Lets say I have an excel file named 'Protected_1.xls' in desktop. &lt;/LI&gt;&lt;LI&gt;I have created ODBC connection for that excel file.&lt;/LI&gt;&lt;LI&gt;The password is 1234.&lt;/LI&gt;&lt;LI&gt;How to load this excel file.&lt;/LI&gt;&lt;LI&gt;In various discussions it is mentioned that the excel file should be kept open when loading.&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10pt;"&gt;Is there any way to automatically open the excel file, load the data and automatically close the excel file during each reload.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-password-protected-excel-file/m-p/1181024#M888295</guid>
      <dc:creator>rajuamet</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load password protected excel file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-password-protected-excel-file/m-p/1181025#M888296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please follow below links to get a solution..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-thread-small" data-containerid="2061" data-containertype="14" data-objectid="13917" data-objecttype="1" href="https://community.qlik.com/thread/13917"&gt;https://community.qlik.com/thread/13917&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-idea" data-containerid="2014" data-containertype="2020" data-objectid="3129" data-objecttype="3227383" href="https://community.qlik.com/ideas/3129"&gt;https://community.qlik.com/ideas/3129&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 14:10:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-password-protected-excel-file/m-p/1181025#M888296</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2016-09-12T14:10:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load password protected excel file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-password-protected-excel-file/m-p/1181026#M888297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you find a solution?&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 14:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-password-protected-excel-file/m-p/1181026#M888297</guid>
      <dc:creator>Ronnie_Taborn</dc:creator>
      <dc:date>2016-09-12T14:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load password protected excel file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-password-protected-excel-file/m-p/1181027#M888298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronnie Taborn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Working on that. I am not well versed in using macros. It will be great if someone can help with macros.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 05:54:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-password-protected-excel-file/m-p/1181027#M888298</guid>
      <dc:creator>rajuamet</dc:creator>
      <dc:date>2016-09-13T05:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load password protected excel file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-password-protected-excel-file/m-p/1181028#M888299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try This - This might help ful or work. But, If your excel has &lt;STRONG&gt;read only&lt;/STRONG&gt; it doesn't work. But try luck and let me know&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;1) How to check whether this file is Read Only - Try to Ctrl + S then see. If file saves the success then we can easily connect with out Macro. Please Confirm me this&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dim objExcel&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Set objExcel = CreateObject("Excel.Application")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;objExcel.Application.DisplayAlerts = False&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;objExcel.Application.Visible = True&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;objExcel.Application.Workbooks.Open "QLIK:\PWD.xls", "3", True, , "a"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;objExcel.Application.ActiveWorkbook.Unprotect&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;objExcel.Application.ActiveWorkbook.SaveAs "QLIK:\UNPWD.xls", , ""&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;objExcel.Application.DisplayAlerts = True&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;objExcel.Application.Quit&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I just connected thru Oracle. From Data tab of the bottom - Choose ODBC &amp;amp; Forced 32 Bit (Check) - Connect -- Choose Excel Files give only password -- Then choose your path of the protected Excel File -- Then Hit OK -- Then go to back and now select the Data from Select Button -- Might be Hit OK -- Should work&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ODBC CONNECT32 TO [Excel Files;DBQ=C:\USERS\Tal\DESKTOP\Copy of PWD.xlsx] (XPassword is ABCDEF);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 10pt; line-height: 1.5em;"&gt;SQL SELECT Sales&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM `C:\Users\Tal\Desktop\Copy of PWD.xlsx`.`Sheet1$`;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 07:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-password-protected-excel-file/m-p/1181028#M888299</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-13T07:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load password protected excel file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-password-protected-excel-file/m-p/1181029#M888300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anil babu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My excel has no restrictions.&amp;nbsp; I do not want to Unprotect and save the file again. But anyway I have figured out a work around.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 12:07:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-password-protected-excel-file/m-p/1181029#M888300</guid>
      <dc:creator>rajuamet</dc:creator>
      <dc:date>2016-09-13T12:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load password protected excel file</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-Load-password-protected-excel-file/m-p/1181030#M888301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ronnie Taborn,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found a solution (workaround):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 1: Open protected excel in back-end using VBScript Script File&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;set XLApp = CreateObject("Excel.Application")&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;XLApp.Workbooks.Open "C:\USERS\RANGARAJU.RAJAPPAN\DESKTOP\Protected_1.xls",,,,"1234"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;XLApp.Visible = False&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In notepad copy the above script and save as &lt;EM&gt;Hack.vbs&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 2: ODBC connection for &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Protected_1.xls in qvw&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;ODBC CONNECT TO [Excel Files;DBQ=C:\USERS\RANGARAJU.RAJAPPAN\DESKTOP\Protected_1.xls];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt;"&gt;SQL SELECT *&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM `C:\USERS\RANGARAJU.RAJAPPAN\DESKTOP\Protected_1.xls`.`Sheet1$`;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;Exit Script;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Save it as &lt;EM&gt;Load Excel.qvw&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Step 3: Kill EXCEL.EXE using bat file&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Taskkill /IM Excel.Exe /f&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;EXIT&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;In notepad copy the above script and save as &lt;EM&gt;Kill.bat&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;Step 4: Creating a batch file to execute all in sequence&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;START Hack.vbs&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-size: 10pt;"&gt;"C:\Program Files\QlikView\qv.exe" /r "C:\Users\rangaraju.rajappan\Desktop\SetUp\Load Excel.qvw"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;EM&gt;START Kill Excel.bat&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;In notepad copy the above script and save as &lt;EM&gt;Execute.bat&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Now run the &lt;EM style="font-size: 13.3333px;"&gt;Execute.bat &lt;/EM&gt;to test.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Note: Replace the paths in respective places.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 12:28:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-Load-password-protected-excel-file/m-p/1181030#M888301</guid>
      <dc:creator>rajuamet</dc:creator>
      <dc:date>2016-09-13T12:28:40Z</dc:date>
    </item>
  </channel>
</rss>

