<?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 Macro use Field Value Selected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-use-Field-Value-Selected/m-p/1451049#M612824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikers,&lt;/P&gt;&lt;P&gt;I would like to&lt;STRONG&gt; launch the following macro and use the field value selected inside this VB macro&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;My purpose is saving an Excel File with the month name selected from the user.&lt;/P&gt;&lt;P&gt;MonthName is a field!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Sub SendReport&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;ActiveDocument.Sheets("SH02").Activate 'edit the sheet &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;'ActiveDocument.reload&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;set objExcel=ActiveDocument.GetSheetObject("CH23") 'edit the sheet object&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;filepath="\\......path..........\"&amp;amp; &lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;MonthName&lt;/SPAN&gt; &amp;amp;".xls"&amp;nbsp;&amp;nbsp; 'edit the location of file&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;objExcel.ExportBiff filepath&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;ActiveDocument.GetApplication.Sleep 5000&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;End Sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Have you any idea??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!!&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Sep 2017 14:12:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-09-07T14:12:54Z</dc:date>
    <item>
      <title>Macro use Field Value Selected</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-use-Field-Value-Selected/m-p/1451049#M612824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Qlikers,&lt;/P&gt;&lt;P&gt;I would like to&lt;STRONG&gt; launch the following macro and use the field value selected inside this VB macro&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;My purpose is saving an Excel File with the month name selected from the user.&lt;/P&gt;&lt;P&gt;MonthName is a field!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;Sub SendReport&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;ActiveDocument.Sheets("SH02").Activate 'edit the sheet &lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;'ActiveDocument.reload&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;set objExcel=ActiveDocument.GetSheetObject("CH23") 'edit the sheet object&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;filepath="\\......path..........\"&amp;amp; &lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;MonthName&lt;/SPAN&gt; &amp;amp;".xls"&amp;nbsp;&amp;nbsp; 'edit the location of file&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;objExcel.ExportBiff filepath&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;ActiveDocument.GetApplication.Sleep 5000&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;End Sub&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Have you any idea??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!!&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 14:12:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-use-Field-Value-Selected/m-p/1451049#M612824</guid>
      <dc:creator />
      <dc:date>2017-09-07T14:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: Macro use Field Value Selected</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-use-Field-Value-Selected/m-p/1451050#M612825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not expert in This? But have a look&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sub SendReport&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;ActiveDocument.Sheets("SH02").Activate 'edit the sheet&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;'ActiveDocument.reload&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;set objExcel=ActiveDocument.GetSheetObject("CH23") 'edit the sheet object&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;filepath="\\......path..........\"&amp;amp; &lt;STRONG style="color: #3d3d3d; font-family: inherit; font-size: 13px; font-style: inherit;"&gt;&lt;STRONG style="color: #ff0000; font-size: 14pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;SubField(&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;STRONG style="color: #ff0000; font-size: 14pt; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;Concat(&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14pt; font-family: inherit; color: #ff0000;"&gt;MonthName, ','), ',', 1)&lt;/SPAN&gt; &amp;amp;".xls"&amp;nbsp;&amp;nbsp; 'edit the location of file&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;objExcel.ExportBiff filepath&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;ActiveDocument.GetApplication.Sleep 5000&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding: 0 0 0 30px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;End Sub&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Sep 2017 14:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-use-Field-Value-Selected/m-p/1451050#M612825</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-07T14:32:35Z</dc:date>
    </item>
  </channel>
</rss>

