<?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: Export to ppt and Customizing each shape left,top postions and also Width and height in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Export-to-ppt-and-Customizing-each-shape-left-top-postions-and/m-p/390042#M145555</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any one its urgent please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2013 02:34:38 GMT</pubDate>
    <dc:creator>SunilChauhan</dc:creator>
    <dc:date>2013-02-28T02:34:38Z</dc:date>
    <item>
      <title>Export to ppt and Customizing each shape left,top postions and also Width and height</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-ppt-and-Customizing-each-shape-left-top-postions-and/m-p/390041#M145554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sub ExportPDF&lt;/P&gt;&lt;P&gt;set SheetName=ActiveDocument.Variables("vSheetName")&lt;/P&gt;&lt;P&gt;set vLeft=ActiveDocument.Variables("vLeft")&lt;/P&gt;&lt;P&gt;set vTop=ActiveDocument.Variables("vTop")&lt;/P&gt;&lt;P&gt;set vWidth=ActiveDocument.Variables("vWidth")&lt;/P&gt;&lt;P&gt;set vHeight=ActiveDocument.Variables("vHeight")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set PPApp = CreateObject("Powerpoint.Application")&lt;/P&gt;&lt;P&gt;PPApp.Visible = True ' Create a presentation&lt;/P&gt;&lt;P&gt;Set PPPres = PPApp.Presentations.Add&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set s=ActiveDocument.Sheets("Main")'SheetName.GetContent.String&lt;/P&gt;&lt;P&gt;charts=s.GetGraphs&lt;/P&gt;&lt;P&gt;for i=lbound(charts) to ubound(charts)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set PPSlide = PPPres.Slides.Add(1, 1)&lt;/P&gt;&lt;P&gt;PPSlide.Shapes(1).Delete ' removes the title&lt;/P&gt;&lt;P&gt;PPSlide.Shapes(1).Delete ' removes the text box&lt;/P&gt;&lt;P&gt;'ActiveDocument.GetSheetObject(charts(i).getobjectid).maximize&lt;/P&gt;&lt;P&gt;ActiveDocument.GetSheetObject(charts(i).getobjectid).CopyBitmapToClipboard&lt;/P&gt;&lt;P&gt;'ActiveDocument.GetSheetObject(charts(i).getobjectid).minimize&lt;/P&gt;&lt;P&gt;with PPSlide.Shapes.Paste&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;.Left = vLeft.GetContent.String&lt;/P&gt;&lt;P&gt;.Top = vTop.GetContent.String&lt;/P&gt;&lt;P&gt;.Width=vWidth.GetContent.String&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PPSlide.Shapes.Paste&lt;/P&gt;&lt;P&gt;end with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;P&gt;PPPres.SaveAs "C:\Trend_Charts.ppt"&lt;/P&gt;&lt;P&gt;PPPres.Close&lt;/P&gt;&lt;P&gt;'PPApp.Quit&lt;/P&gt;&lt;P&gt;Set PPSlide = Nothing&lt;/P&gt;&lt;P&gt;Set PPPres = Nothing&lt;/P&gt;&lt;P&gt;Set PPApp = Nothing&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using abovemacro to export to ppt .macro working fine for me . but i am not able to customize the below values for each shape.&lt;/P&gt;&lt;P&gt;and i want to provide different value for each shape in PPT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;with PPSlide.Shapes.Paste&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.Left = vLeft.GetContent.String--------------- want different left value for each chart But not working&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.Top = vTop.GetContent.String---------------Want&amp;nbsp; &lt;STRONG&gt;different Top value for each chart &lt;STRONG&gt;But not working&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.Width=vWidth.GetContent.String--------------&amp;gt; &lt;STRONG&gt;Want&amp;nbsp; &lt;STRONG&gt;different widthvalue for each chart. &lt;STRONG&gt;But not working&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression for variables (it might be wrong)&lt;/P&gt;&lt;P&gt;=If(Shape=0,0,&lt;/P&gt;&lt;P&gt;If(Shape=1,400,&lt;/P&gt;&lt;P&gt;If(Shape=2,0,&lt;/P&gt;&lt;P&gt;If(Shape=3,400,&lt;/P&gt;&lt;P&gt;If(Shape=4,0,&lt;/P&gt;&lt;P&gt;If(Shape=5,400))))))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;Please help . Please provide your idea its urgent.&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sunil&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Feb 2013 17:14:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-ppt-and-Customizing-each-shape-left-top-postions-and/m-p/390041#M145554</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2013-02-27T17:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: Export to ppt and Customizing each shape left,top postions and also Width and height</title>
      <link>https://community.qlik.com/t5/QlikView/Export-to-ppt-and-Customizing-each-shape-left-top-postions-and/m-p/390042#M145555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any one its urgent please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 02:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Export-to-ppt-and-Customizing-each-shape-left-top-postions-and/m-p/390042#M145555</guid>
      <dc:creator>SunilChauhan</dc:creator>
      <dc:date>2013-02-28T02:34:38Z</dc:date>
    </item>
  </channel>
</rss>

