<?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: Print Excel sheet into PDF in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Print-Excel-sheet-into-PDF/m-p/752917#M237214</link>
    <description>&lt;P&gt;Why use SAS here? Excel can save as PDF.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Jul 2021 16:20:55 GMT</pubDate>
    <dc:creator>PaigeMiller</dc:creator>
    <dc:date>2021-07-08T16:20:55Z</dc:date>
    <item>
      <title>Print Excel sheet into PDF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Print-Excel-sheet-into-PDF/m-p/752912#M237211</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;I have an invoice in Excel sheet with graphic and table.&lt;/P&gt;
&lt;P&gt;I wonder if SAS can help to print that Excel page into PDF.&lt;/P&gt;
&lt;P&gt;The outcome is just like we use Save As PDF in Excel.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;HHC&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 16:10:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Print-Excel-sheet-into-PDF/m-p/752912#M237211</guid>
      <dc:creator>hhchenfx</dc:creator>
      <dc:date>2021-07-08T16:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Print Excel sheet into PDF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Print-Excel-sheet-into-PDF/m-p/752917#M237214</link>
      <description>&lt;P&gt;Why use SAS here? Excel can save as PDF.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 16:20:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Print-Excel-sheet-into-PDF/m-p/752917#M237214</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-07-08T16:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Print Excel sheet into PDF</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Print-Excel-sheet-into-PDF/m-p/752923#M237220</link>
      <description>I would recommend using ODS PDF if you can...if you cannot, use VBS. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://gist.github.com/statgeek/c51f58a009f8d315a200f34912e494b1" target="_blank"&gt;https://gist.github.com/statgeek/c51f58a009f8d315a200f34912e494b1&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Change this line&lt;BR /&gt; mybook.SaveAs ""&amp;amp;default.\"" &amp;amp; Filename &amp;amp; "".xlsx"", 51";&lt;BR /&gt;&lt;BR /&gt;to &lt;BR /&gt;&lt;BR /&gt; mybook.SaveAs ""&amp;amp;default.\"" &amp;amp; Filename &amp;amp; "".pdf"", 51";&lt;BR /&gt;&lt;BR /&gt;You'll need to figure out what that 51 should be - I can't seem to find it easily but it's out there somewhere. &lt;BR /&gt;It's not listed here which is where I'd usually find it, but I'm fairly certain I've done this before. &lt;A href="https://docs.microsoft.com/en-us/office/vba/api/excel.xlfileformat" target="_blank"&gt;https://docs.microsoft.com/en-us/office/vba/api/excel.xlfileformat&lt;/A&gt;</description>
      <pubDate>Thu, 08 Jul 2021 16:33:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Print-Excel-sheet-into-PDF/m-p/752923#M237220</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-07-08T16:33:28Z</dc:date>
    </item>
  </channel>
</rss>

