<?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 Create proc template from existing format in Excel file in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Create-proc-template-from-existing-format-in-Excel-file/m-p/615205#M18716</link>
    <description>&lt;P&gt;I run a report each week via SAS ods tagsets, which produces an output file that I then manually paste into an existing report.&amp;nbsp; I'm currently using SAS 9.3 via a remote session so DDE is not an option unfortunately.&amp;nbsp; I haven't used EG much and was recently upgraded to 7.1, which is running on 9.4 desktop server.&amp;nbsp; I've read many abstracts and tons of other research via the Google and just haven't had any luck around finding a solution.&amp;nbsp; Is there a way to import the exact styles/formatting used in the excel report that I can then modify an existing style template or create a new one?&amp;nbsp; This is only one example of about 10 reports I run each week that *I think* would need a separate template.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there's not a way to import the specifics into SAS, is there an easy way to create it in EG?&amp;nbsp; Thanks in advance for any help as it's greatly appreciated.&amp;nbsp; I've been writing daily code via SAS for 10+ years but when it comes to proc templates/reports, etc., I get a little lost in the details.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-SLB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-01-05_12-39-54.jpg" style="width: 433px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35150i2710AEFD782D1FB3/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-01-05_12-39-54.jpg" alt="2020-01-05_12-39-54.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 05 Jan 2020 18:55:19 GMT</pubDate>
    <dc:creator>stc200896</dc:creator>
    <dc:date>2020-01-05T18:55:19Z</dc:date>
    <item>
      <title>Create proc template from existing format in Excel file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Create-proc-template-from-existing-format-in-Excel-file/m-p/615205#M18716</link>
      <description>&lt;P&gt;I run a report each week via SAS ods tagsets, which produces an output file that I then manually paste into an existing report.&amp;nbsp; I'm currently using SAS 9.3 via a remote session so DDE is not an option unfortunately.&amp;nbsp; I haven't used EG much and was recently upgraded to 7.1, which is running on 9.4 desktop server.&amp;nbsp; I've read many abstracts and tons of other research via the Google and just haven't had any luck around finding a solution.&amp;nbsp; Is there a way to import the exact styles/formatting used in the excel report that I can then modify an existing style template or create a new one?&amp;nbsp; This is only one example of about 10 reports I run each week that *I think* would need a separate template.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If there's not a way to import the specifics into SAS, is there an easy way to create it in EG?&amp;nbsp; Thanks in advance for any help as it's greatly appreciated.&amp;nbsp; I've been writing daily code via SAS for 10+ years but when it comes to proc templates/reports, etc., I get a little lost in the details.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-SLB&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2020-01-05_12-39-54.jpg" style="width: 433px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/35150i2710AEFD782D1FB3/image-size/large?v=v2&amp;amp;px=999" role="button" title="2020-01-05_12-39-54.jpg" alt="2020-01-05_12-39-54.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2020 18:55:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Create-proc-template-from-existing-format-in-Excel-file/m-p/615205#M18716</guid>
      <dc:creator>stc200896</dc:creator>
      <dc:date>2020-01-05T18:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create proc template from existing format in Excel file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Create-proc-template-from-existing-format-in-Excel-file/m-p/615206#M18717</link>
      <description>&lt;P&gt;I don't think there is a way of doing what you want. In any case template definitions change between SAS versions so you would be better off building a new template in SAS 9.4 from scratch.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2020 19:12:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Create-proc-template-from-existing-format-in-Excel-file/m-p/615206#M18717</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2020-01-05T19:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: Create proc template from existing format in Excel file</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Create-proc-template-from-existing-format-in-Excel-file/m-p/615209#M18718</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; When you say you are using "ods tagsets", that implies you are using ODS TAGSETS.EXCELXP??&amp;nbsp; Since you are running SAS 9.4, is ODS EXCEL an option? I do not believe a STYLE template will help you here. For example, in a STYLE template, all the column headers would be defined to be the SAME color, while in your screen shot, you show 4 of the column headers in blue and 3 in gray for the background. A STYLE template doesn't care about your data and your column headers, it would normally color the background of ALL the headers the same.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you want to alter the style of what you create to match what you are pasting into, then using style overrides in PROC REPORT, PROC PRINT or PROC TABULATE would be a better option.&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jan 2020 20:05:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Create-proc-template-from-existing-format-in-Excel-file/m-p/615209#M18718</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2020-01-05T20:05:39Z</dc:date>
    </item>
  </channel>
</rss>

