<?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: Printing headers for each page in ods (excel) , inserting pdf's, and setting column height in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/225971#M14359</link>
    <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I don't know how you are planning to insert an entire PDF document into Excel. I tried and Excel will NOT insert a PDF document into the file. No matter what I try the ONLY thing I can do in Excel is to insert a LINK to a PDF file -- I cannot actually INSERT the physical PDF file into Excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; What I mean by "paged" destinations is that RTF and PDF, for example support the use of the DATE and NUMBER options; they respect the SAS margin options. When I use a SAS title with RTF and PDF, I see a TITLE on EVERY physical page. On the other hand, when I use a TITLE with ODS HTML (which is NOT a paged destination), I see the TITLE at the top of the table and a FOOTNOTE at the bottom of the table. Consider this program:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ods pdf file='c:\temp\showtitle1.pdf';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ods rtf file='c:\temp\showtitle2.rtf';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ods html file='c:\temp\showtitle3.html';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ods tagsets.excelxp file='c:\temp\showtitle4.xml' style=htmlblue&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; options(embedded_titles='yes' embedded_footnotes='yes');&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;title 'This is my Title';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;footnote 'This is my Footnote';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;proc print data=sashelp.shoes(obs=100);&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;run;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ods _all_ close;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I see the title and footnote on EVERY page for the RTF and PDF file. But for the HTML and TAGSETS.EXCELXP file, the TITLE is at the top of the row #1 and the footnote is at the bottom under the obs #100.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;See this output (shown only for PDF, HTML and XML):&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/163iC265E842D40CEEA8/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="title_in_pdf.png" title="title_in_pdf.png" border="0" /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/165i044312EF55DC1598/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="title_in_XML.png" title="title_in_XML.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;You CAN change the height of the cells. How you change the height of the cells depends on the procedure you are using and whether you want to change ALL the cells or only SOME of the cells. And, then there is the issue of whether the HEIGHT style attribute will be respected by all destinations. Run this code and see which destinations use the bigger HEIGHT value for the summary line:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ods pdf file='c:\temp\showht1x.pdf';&lt;BR /&gt;ods rtf file='c:\temp\showht2x.rtf';&lt;BR /&gt;ods html file='c:\temp\showht3x.html';&lt;BR /&gt;ods tagsets.excelxp file='c:\temp\showht4x.xml' style=htmlblue;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;title;&lt;BR /&gt;footnote;&lt;BR /&gt;proc report data=sashelp.class(obs=3)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; style(summary)={cellheight=.5in vjust=m font_weight=bold color=red};&lt;BR /&gt;&amp;nbsp;&amp;nbsp; rbreak after / summarize;&lt;BR /&gt;run;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;ods _all_ close;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;But for many destinations, the height with "autoadjust" depending on the width of the cell. for example:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;data newclass;&lt;BR /&gt;&amp;nbsp; length newvar $500;&lt;BR /&gt;&amp;nbsp; set sashelp.class(obs=3);&lt;BR /&gt;&amp;nbsp; if _n_ = 1 then newvar = repeat(catx(' ',name,sex,'Twas brillig and the slithy toves did gyre and gimble in the wabe'),3);&lt;BR /&gt;&amp;nbsp; else if _n_ = 2 then newvar = catx(' ',name,sex,age);&lt;BR /&gt;&amp;nbsp; else if _n_ = 3 then newvar = catx(' ',name,sex,'abcdefg','hijklmnop','qrstuv','wxyz');&lt;BR /&gt;run;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;ods pdf file='c:\temp\showwd1.pdf';&lt;BR /&gt;ods rtf file='c:\temp\showwd2.rtf';&lt;BR /&gt;ods html file='c:\temp\showwd3.html';&lt;BR /&gt;ods tagsets.excelxp file='c:\temp\showwd4.xml' style=htmlblue;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;title;&lt;BR /&gt;footnote;&lt;BR /&gt;proc report data=newclass ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define newvar / display&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)={width=1.5in font_weight=bold color=red};&lt;BR /&gt;run;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;ods _all_ close;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Notice for the above code, how the row for each of the 3 observations will automatically adjust the height for the row because the width of the NEWVAR cell was fixed.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;cynthia&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Sep 2015 23:09:04 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2015-09-16T23:09:04Z</dc:date>
    <item>
      <title>Printing headers for each page in ods (excel) , inserting pdf's, and setting column height</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/225203#M14322</link>
      <description>&lt;P&gt;Happy Friday!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a three stage question that is interrelated.&lt;/P&gt;&lt;P&gt;Most likely to go to the ODS excel option to export to excel I may have a data set that looks something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Medical Center&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Facility&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Number_cases&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PDF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some of the times there may be as few as five observations, but in other cases there could be 50-&lt;/P&gt;&lt;P&gt;So is there a way to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1)Set the titles,headers,footnotes&amp;nbsp; so that they repeat for every page when it runs over one page when printed&lt;/P&gt;&lt;P&gt;2) set the column height for each observation&lt;/P&gt;&lt;P&gt;3) Insert pdf's through SAS or does this need to be done via vbs scripts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Sep 2015 16:48:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/225203#M14322</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2015-09-11T16:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Printing headers for each page in ods (excel) , inserting pdf's, and setting column height</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/225214#M14323</link>
      <description>With regard to questions 1 &amp;amp; 2, have you looked at ODS Excel XP options? &lt;A href="http://support.sas.com/rnd/base/ods/odsmarkup/TipSheet_ods_xl_xp.pdf" target="_blank"&gt;http://support.sas.com/rnd/base/ods/odsmarkup/TipSheet_ods_xl_xp.pdf&lt;/A&gt;</description>
      <pubDate>Fri, 11 Sep 2015 19:12:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/225214#M14323</guid>
      <dc:creator>Fugue</dc:creator>
      <dc:date>2015-09-11T19:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: Printing headers for each page in ods (excel) , inserting pdf's, and setting column height</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/225233#M14324</link>
      <description>Many Thanks!</description>
      <pubDate>Fri, 11 Sep 2015 21:42:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/225233#M14324</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2015-09-11T21:42:30Z</dc:date>
    </item>
    <item>
      <title>Re: Printing headers for each page in ods (excel) , inserting pdf's, and setting column height</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/225250#M14326</link>
      <description>Hi:&lt;BR /&gt;1) don't know what you mean...whether the titles repeat for every page depends on the destination. For "paged" destinations, titles, column headers and footnotes should repeat. For non-paged destinations like ODS HTML, the title will appear at the top of the HTML page, the footnote will appear after the end of the table and the column headers will appear only 1 time unless you have BY group processing.&lt;BR /&gt;2) Maybe -- depends on what you mean by "set the column height for each observation"&lt;BR /&gt;3) you could insert LINKS to a PDF file (such as on the row for Asia, you could have a link to the file ASIA.PDF and on the row for Pacific, you could have a link to the file PACIFIC.PDF.&lt;BR /&gt;&lt;BR /&gt;Seeing some test data in order to understand what you mean when you say there could be 5 rows or 50 and what type of criteria you envision will determine the height of each destination.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Sat, 12 Sep 2015 03:39:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/225250#M14326</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-09-12T03:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Printing headers for each page in ods (excel) , inserting pdf's, and setting column height</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/225650#M14348</link>
      <description>&lt;P&gt;Cynthia-&lt;/P&gt;&lt;P&gt;1) I have another output document to XML/excel that&amp;nbsp; it does not. I have yet to work with the ODS&amp;nbsp; tipsheet to see what additional options I can play with-&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But what do you mean by paged?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;2) I believe the standard height size per row is 4, I think they can also be changed by what I was reading on the tip sheet.&lt;/P&gt;&lt;P&gt;3) I wish I could use links for this-That would be easy. Right now there is no security method or venue to place these files and they are highly sensitive documents.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2015 16:54:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/225650#M14348</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2015-09-15T16:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: Printing headers for each page in ods (excel) , inserting pdf's, and setting column height</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/225971#M14359</link>
      <description>&lt;P&gt;Hi:&lt;/P&gt;&lt;P&gt;&amp;nbsp; I don't know how you are planning to insert an entire PDF document into Excel. I tried and Excel will NOT insert a PDF document into the file. No matter what I try the ONLY thing I can do in Excel is to insert a LINK to a PDF file -- I cannot actually INSERT the physical PDF file into Excel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; What I mean by "paged" destinations is that RTF and PDF, for example support the use of the DATE and NUMBER options; they respect the SAS margin options. When I use a SAS title with RTF and PDF, I see a TITLE on EVERY physical page. On the other hand, when I use a TITLE with ODS HTML (which is NOT a paged destination), I see the TITLE at the top of the table and a FOOTNOTE at the bottom of the table. Consider this program:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ods pdf file='c:\temp\showtitle1.pdf';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ods rtf file='c:\temp\showtitle2.rtf';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ods html file='c:\temp\showtitle3.html';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ods tagsets.excelxp file='c:\temp\showtitle4.xml' style=htmlblue&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; options(embedded_titles='yes' embedded_footnotes='yes');&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&amp;nbsp; &lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;title 'This is my Title';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;footnote 'This is my Footnote';&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;proc print data=sashelp.shoes(obs=100);&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;run;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ods _all_ close;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I see the title and footnote on EVERY page for the RTF and PDF file. But for the HTML and TAGSETS.EXCELXP file, the TITLE is at the top of the row #1 and the footnote is at the bottom under the obs #100.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;See this output (shown only for PDF, HTML and XML):&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/163iC265E842D40CEEA8/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="title_in_pdf.png" title="title_in_pdf.png" border="0" /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/165i044312EF55DC1598/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="title_in_XML.png" title="title_in_XML.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;You CAN change the height of the cells. How you change the height of the cells depends on the procedure you are using and whether you want to change ALL the cells or only SOME of the cells. And, then there is the issue of whether the HEIGHT style attribute will be respected by all destinations. Run this code and see which destinations use the bigger HEIGHT value for the summary line:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;ods pdf file='c:\temp\showht1x.pdf';&lt;BR /&gt;ods rtf file='c:\temp\showht2x.rtf';&lt;BR /&gt;ods html file='c:\temp\showht3x.html';&lt;BR /&gt;ods tagsets.excelxp file='c:\temp\showht4x.xml' style=htmlblue;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;title;&lt;BR /&gt;footnote;&lt;BR /&gt;proc report data=sashelp.class(obs=3)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; style(summary)={cellheight=.5in vjust=m font_weight=bold color=red};&lt;BR /&gt;&amp;nbsp;&amp;nbsp; rbreak after / summarize;&lt;BR /&gt;run;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;&lt;BR /&gt;ods _all_ close;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;But for many destinations, the height with "autoadjust" depending on the width of the cell. for example:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT face="courier new,courier"&gt;data newclass;&lt;BR /&gt;&amp;nbsp; length newvar $500;&lt;BR /&gt;&amp;nbsp; set sashelp.class(obs=3);&lt;BR /&gt;&amp;nbsp; if _n_ = 1 then newvar = repeat(catx(' ',name,sex,'Twas brillig and the slithy toves did gyre and gimble in the wabe'),3);&lt;BR /&gt;&amp;nbsp; else if _n_ = 2 then newvar = catx(' ',name,sex,age);&lt;BR /&gt;&amp;nbsp; else if _n_ = 3 then newvar = catx(' ',name,sex,'abcdefg','hijklmnop','qrstuv','wxyz');&lt;BR /&gt;run;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;ods pdf file='c:\temp\showwd1.pdf';&lt;BR /&gt;ods rtf file='c:\temp\showwd2.rtf';&lt;BR /&gt;ods html file='c:\temp\showwd3.html';&lt;BR /&gt;ods tagsets.excelxp file='c:\temp\showwd4.xml' style=htmlblue;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;title;&lt;BR /&gt;footnote;&lt;BR /&gt;proc report data=newclass ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; define newvar / display&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; style(column)={width=1.5in font_weight=bold color=red};&lt;BR /&gt;run;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;ods _all_ close;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Notice for the above code, how the row for each of the 3 observations will automatically adjust the height for the row because the width of the NEWVAR cell was fixed.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;cynthia&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 23:09:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/225971#M14359</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-09-16T23:09:04Z</dc:date>
    </item>
    <item>
      <title>Re: Printing headers for each page in ods (excel) , inserting pdf's, and setting column height</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/225973#M14360</link>
      <description>&lt;P&gt;Sorry, I meant to post the pix of the HTML output too:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/166iCA63505CC75EBD1F/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="title_in_HTML.png" title="title_in_HTML.png" border="0" /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2015 23:10:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/225973#M14360</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-09-16T23:10:10Z</dc:date>
    </item>
    <item>
      <title>Re: Printing headers for each page in ods (excel) , inserting pdf's, and setting column height</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/226117#M14364</link>
      <description>&lt;P&gt;Cynthia-&lt;/P&gt;&lt;P&gt;Thanks for your explanation on 'paged'.&amp;nbsp;&lt;/P&gt;&lt;P&gt;As to excel, if you go to insert tab, then insert object you can embed a pdf.&lt;/P&gt;&lt;P&gt;I have some vba code that actually embeds the pdf and then renames it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to translate that to vbs w/o much success. If i figure that out, then I will share it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately the Microsoft developers network is nowhere as near as helpful as the SAS community forum and in some cases seems outright nasty in some of the threads.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Glad to be using SAS 98% of the time!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I am trying to do is the holy grail to some degree but one of my colleagues needs to embed 200+ pdf's into excel documents.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lawrence&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Sep 2015 19:22:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/Printing-headers-for-each-page-in-ods-excel-inserting-pdf-s-and/m-p/226117#M14364</guid>
      <dc:creator>LB</dc:creator>
      <dc:date>2015-09-17T19:22:55Z</dc:date>
    </item>
  </channel>
</rss>

