<?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: ods excel START_AT changing for each table output in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-START-AT-changing-for-each-table-output/m-p/816875#M322473</link>
    <description>&lt;P&gt;I don't think you'll be able to accomplish this with the START_AT option. From the documentation:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV class="xis-eDocBody"&gt;
&lt;DIV class="xis-refDictEntry"&gt;
&lt;DIV class="xis-syntax"&gt;
&lt;DIV class="xis-syntaxDescription"&gt;
&lt;DIV class="xis-optionalArgGroup"&gt;
&lt;DIV id="p0258wnlz15ubrn1vqfalp6l4hjz" class="xis-argDescriptionPair"&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;DIV id="p0frh60dhbgd3pn1w5zgjk4um77a" class="xis-argDescriptionPair"&gt;
&lt;H4 class="xis-argument"&gt;(START_AT='&lt;SPAN class="xis-userSuppliedValue"&gt;string&lt;/SPAN&gt;')&lt;/H4&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;P class="xis-paraSimpleFirst"&gt;specifies a starting cell for the report. The default is to start at column 1 and row 1.&lt;/P&gt;
&lt;TABLE class="xis-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="61.7px" height="30px" class="xis-summaryDefault"&gt;Default&lt;/TD&gt;
&lt;TD width="404.25px" height="30px" class="xis-summaryText"&gt;1,1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="61.7px" height="30px" class="xis-summaryTip"&gt;Tip&lt;/TD&gt;
&lt;TD width="404.25px" height="30px" class="xis-summaryText"&gt;&lt;STRONG&gt;This option cannot be changed in the middle of a sheet.&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="61.7px" height="30px" class="xis-summaryExample"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;(emphasis added for the tip line above). That means the first start_at is where all the tables on that Excel sheet will start.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may be able to generate something that looks like what you want by conditionally setting options in the PROC report to insert blank column(s) without left, top and bottom borders or any displayed content values for a column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2022 15:23:42 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2022-06-07T15:23:42Z</dc:date>
    <item>
      <title>ods excel START_AT changing for each table output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-START-AT-changing-for-each-table-output/m-p/816845#M322458</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am using a macro to repeat a proc report with macro-parameters taking different values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to export all these proc report outputs to one sheet of an excel file. I managed to do it without problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yet, i want the first proc report to start at column B (let's say for the first one B1)&lt;/P&gt;
&lt;P&gt;The next ones starting at column A&lt;/P&gt;
&lt;P&gt;And then another one starting at column B&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can i do that ?&lt;/P&gt;
&lt;P&gt;I tried this but turns out all tables are starting at column B (B1 for the first table, B12 for the second table, etc..)&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods excel file = '' ; 
%macro report (in= , title = ...) ; 

proc report data = &amp;amp;in. ; 
.. ; 
run ; 

%mend ; 
ods excel options (start_at='B1') ; 
%report(in=a;title = ...) ; 
ods excel options (start_at='A12') ; 
%report(in=b,title ....) ;
%report(in=c,title ....) ;
%report(in=d,title ....) ;
ods excel options (start_at='B78') ; 
%report(in=e,title ....) ;
ods excel options (start_at='A91') ; 
%report(in=f,title ....) ;
%report(in=g,title ....) ;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 12:39:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-excel-START-AT-changing-for-each-table-output/m-p/816845#M322458</guid>
      <dc:creator>elsfy</dc:creator>
      <dc:date>2022-06-07T12:39:27Z</dc:date>
    </item>
    <item>
      <title>Re: ods excel START_AT changing for each table output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-START-AT-changing-for-each-table-output/m-p/816872#M322470</link>
      <description>Unfortunately you cannot change START_AT yet using ODS EXCEL in the method you're expecting here. &lt;BR /&gt;Hopefully that's something they update soon.</description>
      <pubDate>Tue, 07 Jun 2022 15:15:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-excel-START-AT-changing-for-each-table-output/m-p/816872#M322470</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-06-07T15:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: ods excel START_AT changing for each table output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-START-AT-changing-for-each-table-output/m-p/816874#M322472</link>
      <description>Thank you for your answer.&lt;BR /&gt;Is there an alternative ?</description>
      <pubDate>Tue, 07 Jun 2022 15:17:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-excel-START-AT-changing-for-each-table-output/m-p/816874#M322472</guid>
      <dc:creator>elsfy</dc:creator>
      <dc:date>2022-06-07T15:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: ods excel START_AT changing for each table output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-START-AT-changing-for-each-table-output/m-p/816875#M322473</link>
      <description>&lt;P&gt;I don't think you'll be able to accomplish this with the START_AT option. From the documentation:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;DIV class="xis-eDocBody"&gt;
&lt;DIV class="xis-refDictEntry"&gt;
&lt;DIV class="xis-syntax"&gt;
&lt;DIV class="xis-syntaxDescription"&gt;
&lt;DIV class="xis-optionalArgGroup"&gt;
&lt;DIV id="p0258wnlz15ubrn1vqfalp6l4hjz" class="xis-argDescriptionPair"&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;DIV id="p0frh60dhbgd3pn1w5zgjk4um77a" class="xis-argDescriptionPair"&gt;
&lt;H4 class="xis-argument"&gt;(START_AT='&lt;SPAN class="xis-userSuppliedValue"&gt;string&lt;/SPAN&gt;')&lt;/H4&gt;
&lt;DIV class="xis-argumentDescription"&gt;
&lt;P class="xis-paraSimpleFirst"&gt;specifies a starting cell for the report. The default is to start at column 1 and row 1.&lt;/P&gt;
&lt;TABLE class="xis-summary"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="61.7px" height="30px" class="xis-summaryDefault"&gt;Default&lt;/TD&gt;
&lt;TD width="404.25px" height="30px" class="xis-summaryText"&gt;1,1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="61.7px" height="30px" class="xis-summaryTip"&gt;Tip&lt;/TD&gt;
&lt;TD width="404.25px" height="30px" class="xis-summaryText"&gt;&lt;STRONG&gt;This option cannot be changed in the middle of a sheet.&lt;/STRONG&gt;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="61.7px" height="30px" class="xis-summaryExample"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;(emphasis added for the tip line above). That means the first start_at is where all the tables on that Excel sheet will start.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may be able to generate something that looks like what you want by conditionally setting options in the PROC report to insert blank column(s) without left, top and bottom borders or any displayed content values for a column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 15:23:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-excel-START-AT-changing-for-each-table-output/m-p/816875#M322473</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2022-06-07T15:23:42Z</dc:date>
    </item>
    <item>
      <title>Re: ods excel START_AT changing for each table output</title>
      <link>https://communities.sas.com/t5/SAS-Programming/ods-excel-START-AT-changing-for-each-table-output/m-p/816876#M322474</link>
      <description>&lt;P&gt;Depends on how formatted your tables are.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If it's a basic table, using PROC EXPORT is one method instead, where you can export to a specific range and specify the starting part of the range using Sheet1A1:0 where 0 allows the table to be dynamic in size.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But if you have formatting I'm not aware of an easy workaround at this time.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2022 15:27:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/ods-excel-START-AT-changing-for-each-table-output/m-p/816876#M322474</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2022-06-07T15:27:42Z</dc:date>
    </item>
  </channel>
</rss>

