<?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: Title on excel output in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Title-on-excel-output/m-p/707546#M26518</link>
    <description>Did you check the header of the Excel file?&lt;BR /&gt;I believe they go to the header with the default options and you can change that behaviour with the embedded_titles/embed_titles_once options. &lt;BR /&gt;&lt;BR /&gt;Does the log show any Errors, Warnings, or Notes beyond the standard record written?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=odsug&amp;amp;docsetTarget=p09n5pw9ol0897n1qe04zeur27rv.htm&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=odsug&amp;amp;docsetTarget=p09n5pw9ol0897n1qe04zeur27rv.htm&amp;amp;locale=en&lt;/A&gt;</description>
    <pubDate>Mon, 21 Dec 2020 18:24:18 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2020-12-21T18:24:18Z</dc:date>
    <item>
      <title>Title on excel output</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Title-on-excel-output/m-p/707536#M26515</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;My titles wont show in the output. whats wrong here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file="F:\Brugere\MMEA\Ventetider2.xlsx" options(sheet_name="Hovedcentre");

proc odstext;
  p "Samfundspor: Overblik over ventetider. Åbne testtilbud, % ledige tider" / style=[color=STEEL font_weight=bold];
  p "Blå = &amp;gt;10% ledige tider, Rød = &amp;lt;10% ledige tider. Bemærk at hvis felterne er tomme, er der ikke booket nogle tider på den pågældende dato";
  p "Tallene hentes direkte fra prøvebestillingssystemet uden stikprøvekontrol, og der kan derfor forekomme fejl unøjeagtigheder";
  p "Ventetiderne er opgjort for COVID-19 podninger til voksne. Podninger af børn og antistof indgår ikke."
  p "Kun opgjort for Testcenter Danmark (Samfundssporet)"
  p "For nære kontakter indgår kun testcentre som er åbent hver dag. Kilde: SSI og Synlab";
run;
options mprint;

proc format;
    /*value pctf .='N/A' ventetid percentn10.  low-&amp;lt;0.1= 0.1-high=ventetid format=percentn10.*/;
    value colorf .=white low-&amp;lt;0.1=Firebrick 0.1-high=lightblue;
run;

%macro many_col;
    proc sql noprint;
        select count(distinct dato) into :ncols from pdf1;
    quit;
    %put &amp;amp;=ncols;

	proc report data=pdf1 style(header) = {background = lightgray color = black};
	    columns region teststed metode dato,ventetid;
	    define Region/group style(header) = {background = lightgray color = black font_weight=bold font_face=calibri} style(column) = {background = lightgray color = black font_weight=bold font_face=calibri};
	    define teststed/group style(header) = {background = lightgray color = black font_weight=bold font_face=calibri} style(column) = {background = lightgray color = black font_face=calibri};
		define metode/group style(header) = {background = lightgray color = black font_weight=bold font_face=calibri} style(column) = {background = lightgray color = black font_face=calibri};
	    define dato/across order=internal format= ddmmyyd10. style(header) = {background = lightgray color = black font_weight=bold font_face=calibri};
	    define ventetid/sum format=percentn10./*format=pctf5. */'';
	    compute ventetid;
	          %do i=1 %to &amp;amp;ncols;
	               call define("_c%eval(&amp;amp;i+3)_",'style','style={background=colorf. color=black font_face=calibri font_weight=bold}');
	          %end;
	      endcompute;
		
	run;
%mend;

%many_col

ods excel close;

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;ps. is it possible to delete old questions in this community?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 17:33:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Title-on-excel-output/m-p/707536#M26515</guid>
      <dc:creator>mmea</dc:creator>
      <dc:date>2020-12-21T17:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Title on excel output</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Title-on-excel-output/m-p/707544#M26516</link>
      <description>&lt;P&gt;You have no TITLE statement so not sure why you'd expect to see a title.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What part of your code are you expecting to function as the title?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can delete questions but if there have been responses or it's been a while not sure you still have that option.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/353472"&gt;@mmea&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;My titles wont show in the output. whats wrong here?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file="F:\Brugere\MMEA\Ventetider2.xlsx" options(sheet_name="Hovedcentre");

proc odstext;
  p "Samfundspor: Overblik over ventetider. Åbne testtilbud, % ledige tider" / style=[color=STEEL font_weight=bold];
  p "Blå = &amp;gt;10% ledige tider, Rød = &amp;lt;10% ledige tider. Bemærk at hvis felterne er tomme, er der ikke booket nogle tider på den pågældende dato";
  p "Tallene hentes direkte fra prøvebestillingssystemet uden stikprøvekontrol, og der kan derfor forekomme fejl unøjeagtigheder";
  p "Ventetiderne er opgjort for COVID-19 podninger til voksne. Podninger af børn og antistof indgår ikke."
  p "Kun opgjort for Testcenter Danmark (Samfundssporet)"
  p "For nære kontakter indgår kun testcentre som er åbent hver dag. Kilde: SSI og Synlab";
run;
options mprint;

proc format;
    /*value pctf .='N/A' ventetid percentn10.  low-&amp;lt;0.1= 0.1-high=ventetid format=percentn10.*/;
    value colorf .=white low-&amp;lt;0.1=Firebrick 0.1-high=lightblue;
run;

%macro many_col;
    proc sql noprint;
        select count(distinct dato) into :ncols from pdf1;
    quit;
    %put &amp;amp;=ncols;

	proc report data=pdf1 style(header) = {background = lightgray color = black};
	    columns region teststed metode dato,ventetid;
	    define Region/group style(header) = {background = lightgray color = black font_weight=bold font_face=calibri} style(column) = {background = lightgray color = black font_weight=bold font_face=calibri};
	    define teststed/group style(header) = {background = lightgray color = black font_weight=bold font_face=calibri} style(column) = {background = lightgray color = black font_face=calibri};
		define metode/group style(header) = {background = lightgray color = black font_weight=bold font_face=calibri} style(column) = {background = lightgray color = black font_face=calibri};
	    define dato/across order=internal format= ddmmyyd10. style(header) = {background = lightgray color = black font_weight=bold font_face=calibri};
	    define ventetid/sum format=percentn10./*format=pctf5. */'';
	    compute ventetid;
	          %do i=1 %to &amp;amp;ncols;
	               call define("_c%eval(&amp;amp;i+3)_",'style','style={background=colorf. color=black font_face=calibri font_weight=bold}');
	          %end;
	      endcompute;
		
	run;
%mend;

%many_col

ods excel close;

&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;ps. is it possible to delete old questions in this community?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Dec 2020 18:07:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Title-on-excel-output/m-p/707544#M26516</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-12-21T18:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: Title on excel output</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Title-on-excel-output/m-p/707545#M26517</link>
      <description>&lt;P&gt;I have put the title statments here now&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;still doesnt work&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel options(sheet_name="supplerende");





options mprint;
proc format;
    /*value pctf .='N/A' ventetid percentn10.  low-&amp;lt;0.1= 0.1-high=ventetid format=percentn10.*/;
    value colorf .=white low-&amp;lt;0.1=Firebrick 0.1-high=lightblue;
run;

%macro many_col;
    proc sql noprint;
        select count(distinct dato) into :ncols from pdf2;
    quit;
    %put &amp;amp;=ncols;
TITLE1 'Samfundspor: Overblik over ventetider' ;
TITLE2 'Supplerende testtilbud, % ledige tider';
TITLE3 'Blå = &amp;gt;10% ledige tider, Rød = &amp;lt;10% ledige tider';
TITLE4 'Bemærk at hvis felterne er tomme, er der ikke booket nogle tider på den pågældende dato';
TITLE5 'Tallene hentes direkte fra prøvebestillingssystemet uden stikprøvekontrol, og der kan derfor forekomme fejl unøjeagtigheder';
TITLE6 'Ventetiderne er opgjort for COVID-19 podninger til voksne. Podninger af børn og antistof indgår ikke.';
TITLE7 'Kun opgjort for Testcenter Danmark (Samfundssporet)';
TITLE8 'For nære kontakter indgår kun testcentre som er åbent hver dag. Kilde: SSI og Synlab';
	proc report data=pdf2 style(header) = {background = lightgray color = black};
	    columns region teststed metode dato,ventetid;
	    define Region/group style(header) = {background = lightgray color = black font_weight=bold font_face=calibri} style(column) = {background = lightgray color = black font_weight=bold font_face=calibri};
	    define teststed/group style(header) = {background = lightgray color = black font_weight=bold font_face=calibri} style(column) = {background = lightgray color = black font_face=calibri};
		define metode/group style(header) = {background = lightgray color = black font_weight=bold font_face=calibri} style(column) = {background = lightgray color = black font_face=calibri};
	    define dato/across order=internal format= ddmmyyd10. style(header) = {background = lightgray color = black font_weight=bold font_face=calibri};
	    define ventetid/sum format=percentn10./*format=pctf5. */'';
	    compute ventetid;
	          %do i=1 %to &amp;amp;ncols;
	               call define("_c%eval(&amp;amp;i+3)_",'style','style={background=colorf. color=black font_face=calibri font_weight=bold}');
	          %end;
	      endcompute;
		
	run;
%mend;


%many_col



ods excel close;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Dec 2020 18:19:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Title-on-excel-output/m-p/707545#M26517</guid>
      <dc:creator>mmea</dc:creator>
      <dc:date>2020-12-21T18:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Title on excel output</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Title-on-excel-output/m-p/707546#M26518</link>
      <description>Did you check the header of the Excel file?&lt;BR /&gt;I believe they go to the header with the default options and you can change that behaviour with the embedded_titles/embed_titles_once options. &lt;BR /&gt;&lt;BR /&gt;Does the log show any Errors, Warnings, or Notes beyond the standard record written?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=odsug&amp;amp;docsetTarget=p09n5pw9ol0897n1qe04zeur27rv.htm&amp;amp;locale=en" target="_blank"&gt;https://documentation.sas.com/?cdcId=pgmsascdc&amp;amp;cdcVersion=9.4_3.5&amp;amp;docsetId=odsug&amp;amp;docsetTarget=p09n5pw9ol0897n1qe04zeur27rv.htm&amp;amp;locale=en&lt;/A&gt;</description>
      <pubDate>Mon, 21 Dec 2020 18:24:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Title-on-excel-output/m-p/707546#M26518</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-12-21T18:24:18Z</dc:date>
    </item>
  </channel>
</rss>

