<?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: Help with Excel Export in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Excel-Export/m-p/455331#M698286</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fields can not be visible or invisible because they're data model. Perhaps the "visibility" you need to check is defined by variables. Values of the variables can be checked like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables(var)&lt;/P&gt;&lt;P&gt;val = v.GetContent.String&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if val=.... then ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2013 21:29:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-02-20T21:29:28Z</dc:date>
    <item>
      <title>Help with Excel Export</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Excel-Export/m-p/455330#M698285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QlikView and VB Scripting. I have a sheet with several Conditional Hidden fields, and different data displays depending on values selected. I am putting an Excel Export button on the sheet to export the data that is visible at the time, however I am not sure of how to set up the VBScript syntax in order to only grab only the fields that are visible. Is there any functionality or parameter I can use in an If condition to get what I need? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*if field Id is visible = true * &amp;lt;-- How do i do this???&lt;/P&gt;&lt;P&gt;Then&lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject("field Id").CopyTableToClipboard true&lt;/P&gt;&lt;P&gt;XLApp.Worksheets(1).Range("A1").Select()&lt;/P&gt;&lt;P&gt;XLApp.Worksheets(1).Paste()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 16:47:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Excel-Export/m-p/455330#M698285</guid>
      <dc:creator />
      <dc:date>2013-02-20T16:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Excel Export</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Excel-Export/m-p/455331#M698286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Fields can not be visible or invisible because they're data model. Perhaps the "visibility" you need to check is defined by variables. Values of the variables can be checked like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set v = ActiveDocument.Variables(var)&lt;/P&gt;&lt;P&gt;val = v.GetContent.String&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if val=.... then ....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 21:29:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Excel-Export/m-p/455331#M698286</guid>
      <dc:creator />
      <dc:date>2013-02-20T21:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Excel Export</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Excel-Export/m-p/455332#M698288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your suggestion was very helpful. Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to create a variable&amp;nbsp; and use the GetContent.String in order to manipulate what is exported.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 16:52:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Excel-Export/m-p/455332#M698288</guid>
      <dc:creator />
      <dc:date>2013-02-21T16:52:27Z</dc:date>
    </item>
  </channel>
</rss>

