<?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 protect excel from QV macro in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/protect-excel-from-QV-macro/m-p/195203#M55802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If anyone have idea please can help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Sep 2010 12:19:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-10T12:19:29Z</dc:date>
    <item>
      <title>protect excel from QV macro</title>
      <link>https://community.qlik.com/t5/QlikView/protect-excel-from-QV-macro/m-p/195201#M55800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Community&lt;/P&gt;&lt;P&gt;I would like to know how can I done this process in QV .. I upload file for more explane&lt;/P&gt;&lt;P&gt;I have an Extension on a server like that "\\eros\Calibracao\Certificados" and have folders have names of month and year like that "CCA0810", "CCA0910","CCA1010" and inside each folder have excel files&lt;/P&gt;&lt;P&gt;I want to create a Macro for 2 buttons one of them make protection and other remove the protection ..&lt;/P&gt;&lt;P&gt;I done that process on VB6 but also i want it on QV&lt;/P&gt;&lt;P&gt;as you know inside VB6 you make a variable for the direction like that&lt;/P&gt;&lt;P&gt;Option Explicit&lt;BR /&gt;Public path As String&lt;/P&gt;&lt;P&gt;and after that you call your button for protect like that&lt;/P&gt;&lt;P&gt;Sub vblExportar()&lt;BR /&gt;Dim olExcel As Object&lt;BR /&gt;Set olExcel = CreateObject("excel.application")&lt;BR /&gt;olExcel.Workbooks.Open FileName:=path , UpdateLinks:=0&lt;/P&gt;&lt;P&gt;olExcel.ActiveWorkbook.Worksheets("Grafico").Activate&lt;BR /&gt;olExcel.Application.DisplayAlerts = False&lt;BR /&gt;olExcel.ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True, _&lt;BR /&gt;AllowFormattingCells:=True, AllowFormattingColumns:=True, _&lt;BR /&gt;AllowInsertingRows:=True, AllowInsertingHyperlinks:=True, AllowDeletingColumns:=True, _&lt;BR /&gt;AllowDeletingRows:=True, AllowSorting:=True, AllowFiltering:=True, _&lt;BR /&gt;AllowUsingPivotTables:=True, Password:="auditoria"&lt;BR /&gt;olExcel.Save&lt;BR /&gt;&lt;BR /&gt;olExcel.ActiveWorkbook.Worksheets("Outros").Activate&lt;BR /&gt;olExcel.Application.DisplayAlerts = False&lt;BR /&gt;olExcel.ActiveSheet.Protect DrawingObjects:=True, Contents:=True, Scenarios:=True, _&lt;BR /&gt;AllowFormattingCells:=True, AllowFormattingColumns:=True, _&lt;BR /&gt;AllowInsertingRows:=True, AllowInsertingHyperlinks:=True, AllowDeletingColumns:=True, _&lt;BR /&gt;AllowDeletingRows:=True, AllowSorting:=True, AllowFiltering:=True, _&lt;BR /&gt;AllowUsingPivotTables:=True, Password:="auditoria"&lt;BR /&gt;olExcel.Save&lt;BR /&gt;olExcel.SaveWorkspace&lt;BR /&gt;olExcel.Workbooks.Close&lt;BR /&gt;olExcel.AlertBeforeOverwriting = False&lt;BR /&gt;olExcel.DisplayAlerts = False&lt;BR /&gt;olExcel.Quit&lt;BR /&gt;Exit Sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how can i make that on QV when i select the file form the list ... thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 14:25:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/protect-excel-from-QV-macro/m-p/195201#M55800</guid>
      <dc:creator />
      <dc:date>2010-09-09T14:25:42Z</dc:date>
    </item>
    <item>
      <title>protect excel from QV macro</title>
      <link>https://community.qlik.com/t5/QlikView/protect-excel-from-QV-macro/m-p/195202#M55801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is anyone can help please&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 19:27:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/protect-excel-from-QV-macro/m-p/195202#M55801</guid>
      <dc:creator />
      <dc:date>2010-09-09T19:27:14Z</dc:date>
    </item>
    <item>
      <title>protect excel from QV macro</title>
      <link>https://community.qlik.com/t5/QlikView/protect-excel-from-QV-macro/m-p/195203#M55802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If anyone have idea please can help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Sep 2010 12:19:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/protect-excel-from-QV-macro/m-p/195203#M55802</guid>
      <dc:creator />
      <dc:date>2010-09-10T12:19:29Z</dc:date>
    </item>
    <item>
      <title>protect excel from QV macro</title>
      <link>https://community.qlik.com/t5/QlikView/protect-excel-from-QV-macro/m-p/195204#M55803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no oe can help me with his ideas ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 12:03:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/protect-excel-from-QV-macro/m-p/195204#M55803</guid>
      <dc:creator />
      <dc:date>2010-09-13T12:03:33Z</dc:date>
    </item>
  </channel>
</rss>

