<?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: Applying a template in a macro for PowerPoint in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Applying-a-template-in-a-macro-for-PowerPoint/m-p/425545#M564970</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/office/ff743876(v=office.14).aspx"&gt;This page&lt;/A&gt; indicates you don't use parentheses around the template file name. If that doesn't help you, ask somewhere where they specialize in ms-office scripting. You'll have a better chance of an answer in such a place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2013 18:18:08 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-02-20T18:18:08Z</dc:date>
    <item>
      <title>Applying a template in a macro for PowerPoint</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-a-template-in-a-macro-for-PowerPoint/m-p/425543#M564968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class="p1"&gt;I cannot get the Apply Template to work. Any ideal what I am doing wrong?&lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;sub ExportToPowerPoint&lt;BR /&gt; 'Create ppt object&lt;BR /&gt; Set objPPT = CreateObject("PowerPoint.Application")&lt;BR /&gt; objPPT.Visible = True&lt;BR /&gt; &lt;BR /&gt; Set objPresentation = objPPT.Presentations.Add&lt;BR /&gt; &lt;BR /&gt; 'Apply a template if you want one&lt;BR /&gt; &lt;SPAN style="color: #ff0000;"&gt;objPresentation.ApplyTemplate _ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff0000;"&gt; ("C:\SampleTemplate.potx")&lt;/SPAN&gt;&lt;BR /&gt; &lt;BR /&gt; ' Create Slides&lt;BR /&gt; ' Same Slide - 2nd Slide&lt;BR /&gt; Set PPSlide = objPresentation.Slides.Add(1,1)&lt;BR /&gt; ActiveDocument.GetSheetObject("Slide2").CopyBitmapToClipboard&lt;BR /&gt; PPSlide.Shapes.Paste &lt;/P&gt;&lt;P class="p1"&gt;&lt;/P&gt;&lt;P class="p1"&gt;end sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 07:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-a-template-in-a-macro-for-PowerPoint/m-p/425543#M564968</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-16T07:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: Applying a template in a macro for PowerPoint</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-a-template-in-a-macro-for-PowerPoint/m-p/425544#M564969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anybody found a resolution to this issue with applying an existing template - I have been running into the same error myself &lt;/P&gt;&lt;P&gt;Any help would be grealy apprecaited. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 12:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-a-template-in-a-macro-for-PowerPoint/m-p/425544#M564969</guid>
      <dc:creator />
      <dc:date>2013-02-20T12:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: Applying a template in a macro for PowerPoint</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-a-template-in-a-macro-for-PowerPoint/m-p/425545#M564970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/office/ff743876(v=office.14).aspx"&gt;This page&lt;/A&gt; indicates you don't use parentheses around the template file name. If that doesn't help you, ask somewhere where they specialize in ms-office scripting. You'll have a better chance of an answer in such a place.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 18:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-a-template-in-a-macro-for-PowerPoint/m-p/425545#M564970</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-02-20T18:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Applying a template in a macro for PowerPoint</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-a-template-in-a-macro-for-PowerPoint/m-p/425546#M564971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks the parentheses don't seem to do it but you've definately pointed me in the correct direction with respect to looking more into ms-office resources. There's a lot more information around this on those pages. I'll let you know of the outcome!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 09:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-a-template-in-a-macro-for-PowerPoint/m-p/425546#M564971</guid>
      <dc:creator />
      <dc:date>2013-02-21T09:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Applying a template in a macro for PowerPoint</title>
      <link>https://community.qlik.com/t5/QlikView/Applying-a-template-in-a-macro-for-PowerPoint/m-p/425547#M564972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this works for me&amp;nbsp; - simple enough solution in the end !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;objPresentation.ApplyTemplate("C:\Documents and Settings\mytemplate.pot") &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2013 11:10:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Applying-a-template-in-a-macro-for-PowerPoint/m-p/425547#M564972</guid>
      <dc:creator />
      <dc:date>2013-02-21T11:10:00Z</dc:date>
    </item>
  </channel>
</rss>

