<?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: Modifying a style for Excel in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Modifying-a-style-for-Excel/m-p/963485#M26857</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Typically, if you don't get the font you've defined it is sometimes because you have to use PROC FONTREG to register the font with SAS. That means you point SAS to the Windows font library. Interestingly, when I looked in my Windows font library, I did not see the Aptos font files there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Digging a bit more, it seems that Microsoft has defined Aptos as a "cloud font" which is only available to Microsoft 365 subscribers: &lt;A href="https://support.microsoft.com/en-us/office/cloud-fonts-in-office-f7b009fe-037f-45ed-a556-b5fe6ede6adb" target="_blank"&gt;https://support.microsoft.com/en-us/office/cloud-fonts-in-office-f7b009fe-037f-45ed-a556-b5fe6ede6adb&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; I am not sure what the cloud location path is for you to point to it with PROC FONTREG, however, you might want to work with Tech Support on this question. In the past, I have only used PROC FONTREG with fonts that were on my C: drive.&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
    <pubDate>Fri, 04 Apr 2025 20:13:13 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2025-04-04T20:13:13Z</dc:date>
    <item>
      <title>Modifying a style for Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Modifying-a-style-for-Excel/m-p/963469#M26856</link>
      <description>&lt;P&gt;I am creating a custom style, so my Excel output uses the Aptos font.&lt;/P&gt;
&lt;P&gt;I tried the following and get Courier instead of Aptos.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc template ;
define style my_excel ;
  parent=styles.htmlblue ;
  class Table, Note, Header, Data, BodyText / fontfamily="Aptos" ;
end ;
run ;

ods excel
  style=my_excel
  file="&amp;amp;out_folder/class.xlsx" 
  options (sheet_name='Class' frozen_headers='on' autofilter='all')
;
proc print noobs data=sashelp.class ;
run ;
ods excel close ;
&lt;/PRE&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="RichardAD_0-1743788417264.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/105934i44D9273B149488E3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RichardAD_0-1743788417264.png" alt="RichardAD_0-1743788417264.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Where fore art thou Aptos?&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 17:44:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Modifying-a-style-for-Excel/m-p/963469#M26856</guid>
      <dc:creator>RichardAD</dc:creator>
      <dc:date>2025-04-04T17:44:25Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying a style for Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Modifying-a-style-for-Excel/m-p/963485#M26857</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Typically, if you don't get the font you've defined it is sometimes because you have to use PROC FONTREG to register the font with SAS. That means you point SAS to the Windows font library. Interestingly, when I looked in my Windows font library, I did not see the Aptos font files there.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Digging a bit more, it seems that Microsoft has defined Aptos as a "cloud font" which is only available to Microsoft 365 subscribers: &lt;A href="https://support.microsoft.com/en-us/office/cloud-fonts-in-office-f7b009fe-037f-45ed-a556-b5fe6ede6adb" target="_blank"&gt;https://support.microsoft.com/en-us/office/cloud-fonts-in-office-f7b009fe-037f-45ed-a556-b5fe6ede6adb&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp; I am not sure what the cloud location path is for you to point to it with PROC FONTREG, however, you might want to work with Tech Support on this question. In the past, I have only used PROC FONTREG with fonts that were on my C: drive.&lt;/P&gt;
&lt;P&gt;Cynthia&lt;/P&gt;</description>
      <pubDate>Fri, 04 Apr 2025 20:13:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Modifying-a-style-for-Excel/m-p/963485#M26857</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2025-04-04T20:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: Modifying a style for Excel</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Modifying-a-style-for-Excel/m-p/963519#M26858</link>
      <description>&lt;P&gt;It worked thanks!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I&amp;nbsp;&lt;A href="https://download.microsoft.com/download/8/6/0/860a94fa-7feb-44ef-ac79-c072d9113d69/Microsoft%20Aptos%20Fonts.zip" target="_self"&gt;downloaded&lt;/A&gt; Aptos from Microsoft and extracted the ttfs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc fontreg MSGLEVEL=VERBOSE mode=replace;
  fontpath "&amp;lt;Aptos extraction folder&amp;gt;" ;
run ;&lt;/PRE&gt;</description>
      <pubDate>Sat, 05 Apr 2025 05:30:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Modifying-a-style-for-Excel/m-p/963519#M26858</guid>
      <dc:creator>RichardAD</dc:creator>
      <dc:date>2025-04-05T05:30:57Z</dc:date>
    </item>
  </channel>
</rss>

