<?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 Need Macro Help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97346#M765531</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find my attached Qvw. You see two charts which is Sales and Revenue charts. There is a button which will export those two charts to PowerPoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for option before exporting to power point, it should prompt me with the charts names which is Sales and Revenue charts to select the report name.&lt;/P&gt;&lt;P&gt;Based on selection that charts should export to PPT. If i select revenue then Revenue chart should export to PPT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me with the Macro that i am looking for my Dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pinky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>pinky1234</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Need Macro Help</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97346#M765531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find my attached Qvw. You see two charts which is Sales and Revenue charts. There is a button which will export those two charts to PowerPoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for option before exporting to power point, it should prompt me with the charts names which is Sales and Revenue charts to select the report name.&lt;/P&gt;&lt;P&gt;Based on selection that charts should export to PPT. If i select revenue then Revenue chart should export to PPT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me with the Macro that i am looking for my Dashboard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pinky&lt;/P&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/Need-Macro-Help/m-p/97346#M765531</guid>
      <dc:creator>pinky1234</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need Macro Help</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97347#M765532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I didn't do exactly what you asked for. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 14:58:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97347#M765532</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-07-17T14:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need Macro Help</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97348#M765533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the reply!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But i am looking for option before exporting to power point it should prompt me with the list box or what ever object it is with the report names So that i can choose which chart i need to export.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 16:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97348#M765533</guid>
      <dc:creator>pinky1234</dc:creator>
      <dc:date>2018-07-17T16:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need Macro Help</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97349#M765534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone help on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pinky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 18:06:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97349#M765534</guid>
      <dc:creator>pinky1234</dc:creator>
      <dc:date>2018-07-17T18:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need Macro Help</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97350#M765535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone respond to this? Please let me know if this not possible in Qlikview also let me know if you have any questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;I am looking for option before exporting to power point it should prompt me with the list box or what ever object it is with the report names So that i can choose which chart i need to export.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 13:07:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97350#M765535</guid>
      <dc:creator>pinky1234</dc:creator>
      <dc:date>2018-07-18T13:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need Macro Help</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97351#M765536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am fine with your solution. But one more change, if i click sales export button it should export chart and below table same thing for Revenue also. If i click Revenue Export Button should export both chart and Table.&lt;/P&gt;&lt;P&gt;I have attached Qvw. Please find the attached Qvw and let me know how can i implement ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I really appreciate your help!Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pinky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jul 2018 18:15:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97351#M765536</guid>
      <dc:creator>pinky1234</dc:creator>
      <dc:date>2018-07-18T18:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Need Macro Help</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97352#M765537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can fiddle with the top, left, width and height:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 16:28:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97352#M765537</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-07-19T16:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need Macro Help</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97353#M765538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply. Small correction. I want to export Both charts. The one you see the table box under Barchart is Pivot tables comes under charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if strExport = "Sales" then&lt;/P&gt;&lt;P&gt;strTitle = "Total Sales"&lt;/P&gt;&lt;P&gt;strCHID = "CH01"&lt;/P&gt;&lt;P&gt;strTBID = "TB01"&lt;/P&gt;&lt;P&gt;else&lt;/P&gt;&lt;P&gt;strTitle = "Total Revenue"&lt;/P&gt;&lt;P&gt;strCHID = "CH02"&lt;/P&gt;&lt;P&gt;strTBID = "TB01"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i want to export "CH01" and "CH03" charts to power point if str Export ="Sales". Please find the attached Qvw and let me know.Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 17:35:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97353#M765538</guid>
      <dc:creator>pinky1234</dc:creator>
      <dc:date>2018-07-19T17:35:51Z</dc:date>
    </item>
    <item>
      <title>Re: Need Macro Help</title>
      <link>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97354#M765540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I made the change to your code and here it is: What ever lines in bold are the lines that I added to your code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sub ExportPPT&lt;BR /&gt; Set v = ActiveDocument.Variables("vExport")&lt;BR /&gt; strExport = v.Getcontent.string&lt;BR /&gt; &lt;BR /&gt; Set objPPT = CreateObject("PowerPoint.Application")&lt;BR /&gt; objPPT.Visible = True&lt;BR /&gt; Set objPresentation = objPPT.Presentations.Add&lt;BR /&gt; Set PPSlide = objPresentation.Slides.Add(1,11)&lt;BR /&gt; set up = ActiveDocument.GetApplication.GetUserPreferences &lt;BR /&gt; up.ChartUseCapNBorder = True&lt;BR /&gt; ActiveDocument.GetApplication.SetUserPreferences up &lt;BR /&gt; &lt;BR /&gt; if strExport = "Sales" then&lt;BR /&gt; strTitle = "Total Sales"&lt;BR /&gt; strCHID = "CH01"&lt;BR /&gt;&lt;STRONG&gt; &lt;SPAN style="font-size: 14pt;"&gt;strCHID2 = "CH03"&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;BR /&gt; strTBID = "TB01"&lt;BR /&gt; else&lt;BR /&gt; strTitle = "Total Revenue"&lt;BR /&gt; strCHID = "CH02"&lt;BR /&gt; strTBID = "TB01"&lt;BR /&gt; end if&lt;BR /&gt; &lt;BR /&gt; with objPresentation.Slides(1).Shapes(1)&lt;BR /&gt; .TextFrame.TextRange = strTitle&lt;BR /&gt; .Left = 100&lt;BR /&gt; .top = 45&lt;BR /&gt; .width=500&lt;BR /&gt; .height=20&lt;BR /&gt; end with &lt;BR /&gt; ActiveDocument.Sheets("SH01").Activate &lt;BR /&gt; ActiveDocument.GetSheetObject(strCHID).CopyBitmapToClipboard &lt;BR /&gt; with objPresentation.Slides(1).Shapes.PasteSpecial(PasteHTML)&lt;BR /&gt; .Left = 50&lt;BR /&gt; .top = 50&lt;BR /&gt; .width=300&lt;BR /&gt; .height=100&lt;BR /&gt; end with &lt;BR /&gt; &lt;BR /&gt; &lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt;ActiveDocument.Sheets("SH01").Activate &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt; ActiveDocument.GetSheetObject(strCHID2).CopyBitmapToClipboard &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt; with objPresentation.Slides(1).Shapes.PasteSpecial(PasteHTML)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt; .Left = 50&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt; .top = 200&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt; .width=300&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt; .height=100&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt; end with&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;BR /&gt; &lt;BR /&gt; ActiveDocument.GetSheetObject(strTBID).CopyBitmapToClipboard &lt;BR /&gt; with objPresentation.Slides(1).Shapes.PasteSpecial(PasteHTML)&lt;BR /&gt; .Left = 50&lt;BR /&gt; .top = 400&lt;BR /&gt; .width=350&lt;BR /&gt; .height=100&lt;BR /&gt; end with &lt;BR /&gt; 'ActiveDocument.GetSheetObject("CH02").CopyBitmapToClipboard&lt;BR /&gt; 'with objPresentation.Slides(1).Shapes.Paste&lt;BR /&gt; ' .Left = 500&lt;BR /&gt; ' .top = 100&lt;BR /&gt; ' .width=700&lt;BR /&gt; ' .height=250&lt;BR /&gt; 'end with &lt;BR /&gt; &lt;BR /&gt; Set PPSlide = Nothing&lt;BR /&gt; &lt;BR /&gt; Set PPPres = Nothing&lt;BR /&gt; &lt;BR /&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;End&lt;/STRONG&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;sub &lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jul 2018 18:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Need-Macro-Help/m-p/97354#M765540</guid>
      <dc:creator>trdandamudi</dc:creator>
      <dc:date>2018-07-19T18:07:21Z</dc:date>
    </item>
  </channel>
</rss>

