<?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 MSOFFICE2K Email body border in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-MSOFFICE2K-Email-body-border/m-p/230075#M14500</link>
    <description>&lt;P&gt;Thank you for the reply Cynthia.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I agree with your preferred method of doing an attachment, but the business/users prefer simply viewing the report as glancing at an email.&amp;nbsp; The administration piece is not an issue since these emails will be derived internally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any suggestions on getting rid of the border?&amp;nbsp; I'd prefer to stay away from CSS considering the border is just a mior styling change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the input.&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;</description>
    <pubDate>Thu, 15 Oct 2015 13:12:49 GMT</pubDate>
    <dc:creator>jbiza09</dc:creator>
    <dc:date>2015-10-15T13:12:49Z</dc:date>
    <item>
      <title>ODS MSOFFICE2K Email body border</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-MSOFFICE2K-Email-body-border/m-p/229912#M14483</link>
      <description>&lt;P&gt;I am using ODS MSOFFICE2K to send emails with a proc report in the body.&amp;nbsp; Everything seems to be working fine, but the body of the email has a border around it that I cannot figure out how to get rid of.&amp;nbsp; I've tried ODS HTML3, and that got rid of the body border, but the formatting of my proc report doesn't seem to be as flexible with Outlook.&amp;nbsp; Any suggestions are appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Code below.&amp;nbsp; Attached is a screen shot.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;filename mailit email
to=(&amp;amp;MGR_EML)
from='somebody@somewhere.com'
type='text/html'
subject="Subject";

ODS ESCAPECHAR='~';
	ODS MSOFFICE2K FILE=MAILIT STYLE=MEADOW
	OPTIONS(PAGEBREAK="NO");

	title1 J=LEFT COLOR=BLACK FONT='Calibri' HEIGHT=11PT "&amp;amp;MGRNAME,";
	title2 J=LEFT COLOR=BLACK FONT='Calibri' HEIGHT=11PT  'title';
	footnote1 J=LEFT COLOR=BLACK FONT='Calibri' HEIGHT=11PT 'Please direct any questions regarding this email to ... ';
	footnote2 J=LEFT COLOR=BLACK FONT='Calibri' HEIGHT=11PT 'Thank you,';
	footnote3 J=LEFT COLOR=BLACK FONT='Calibri' HEIGHT=11PT 'Support';
	footnote4 J=LEFT "~{STYLE[PREIMAGE='logo.gif']}";

	PROC REPORT DATA=EMAIL_DATA NOWD
			STYLE(HEADER)=[JUST=L BACKGROUND=LIGHT GREY COLOR=BLACK BORDERCOLOR=WHITE]
			STYLE(REPORT)=[CELLSPACING=5 CELLPADDING=2];
	
	COLUMN (EMPID) (EMPNME) (EFFDT) (GANGID) (REGTM_PC) (REGTM_BTM) (REGTM_ETM) (OT_PC) (OTTM_BTM) (OTTM_ETM) (MGRID) (M_NME);
	
	DEFINE EMPID / LEFT DISPLAY 'Employee ID'  STYLE (COLUMN)={TAGATTR='FORMAT:0000000'} MISSING;
	DEFINE EMPNME / LEFT DISPLAY 'Employee' format=$50. MISSING;
	DEFINE EFFDT / LEFT DISPLAY 'Date' STYLE(COLUMN)={TAGATTR='FORMAT:0000000000'} MISSING;
	DEFINE GANGID / LEFT DISPLAY 'Gang' STYLE (COLUMN)={TAGATTR='FORMAT:00000000'} MISSING;
	DEFINE REGTM_PC / LEFT DISPLAY 'Reg Pay Code' STYLE (COLUMN)={TAGATTR='FORMAT:00'} MISSING;
	DEFINE REGTM_BTM / LEFT DISPLAY 'Reg Begin Time' STYLE (COLUMN)={TAGATTR='FORMAT:00000000'} MISSING;
	DEFINE REGTM_ETM / LEFT DISPLAY 'Reg End Time' STYLE (COLUMN)={TAGATTR='FORMAT:00000000'} MISSING;
	DEFINE OT_PC / LEFT DISPLAY 'OT Pay Code' STYLE (COLUMN)={TAGATTR='FORMAT:00'} MISSING;
	DEFINE OTTM_BTM / LEFT DISPLAY 'OT Begin Time' STYLE (COLUMN)={TAGATTR='FORMAT:00000000'} MISSING;
	DEFINE OTTM_ETM / LEFT DISPLAY 'OT End Time' STYLE (COLUMN)={TAGATTR='FORMAT:00000000'} MISSING;
	DEFINE MGRID / LEFT DISPLAY 'Manager ID' STYLE (COLUMN)={TAGATTR='FORMAT:0000000'} MISSING;
	DEFINE M_NME /LEFT DISPLAY 'Manager Name' format=$50. MISSING;
	RUN;
QUIT;
run; 

ODS _ALL_ CLOSE;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/12013i00147F19C34586FA/image-size/large?v=1.0&amp;amp;px=600" border="0" alt="border screen shot.png" title="border screen shot.png" /&gt;</description>
      <pubDate>Wed, 14 Oct 2015 14:48:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-MSOFFICE2K-Email-body-border/m-p/229912#M14483</guid>
      <dc:creator>jbiza09</dc:creator>
      <dc:date>2015-10-14T14:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: ODS MSOFFICE2K Email body border</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-MSOFFICE2K-Email-body-border/m-p/230002#M14493</link>
      <description>Hi:&lt;BR /&gt;  I do not generally email HTML directly in the body of an email because many email administrators do not allow HTML files to be sent and many email administrators change emails with HTML in the body to plain text.&lt;BR /&gt;&lt;BR /&gt;My preferred method of working with emailing reports is to create the file first -- generally using RTF or PDF if the file needs to be printed and then attach the file created by ODS to the email message, such as shown here &lt;A href="http://support.sas.com/kb/23/636.html" target="_blank"&gt;http://support.sas.com/kb/23/636.html&lt;/A&gt; in Example 2.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Thu, 15 Oct 2015 02:58:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-MSOFFICE2K-Email-body-border/m-p/230002#M14493</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-10-15T02:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: ODS MSOFFICE2K Email body border</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-MSOFFICE2K-Email-body-border/m-p/230075#M14500</link>
      <description>&lt;P&gt;Thank you for the reply Cynthia.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I agree with your preferred method of doing an attachment, but the business/users prefer simply viewing the report as glancing at an email.&amp;nbsp; The administration piece is not an issue since these emails will be derived internally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any suggestions on getting rid of the border?&amp;nbsp; I'd prefer to stay away from CSS considering the border is just a mior styling change.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the input.&lt;/P&gt;&lt;P&gt;Josh&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2015 13:12:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-MSOFFICE2K-Email-body-border/m-p/230075#M14500</guid>
      <dc:creator>jbiza09</dc:creator>
      <dc:date>2015-10-15T13:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: ODS MSOFFICE2K Email body border</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-MSOFFICE2K-Email-body-border/m-p/230179#M14508</link>
      <description>Hi:&lt;BR /&gt;  Unfortunately, it's not W3C CSS that is involved it is Microsoft flavor of CSS that is behind the scenes with MSOFFICE2K -- and I find Excel is dicey with border controls anyway. So your best bet for resolution is to work with Tech Support to even find out if what you want to do is possible and then how to do it.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Thu, 15 Oct 2015 21:43:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-MSOFFICE2K-Email-body-border/m-p/230179#M14508</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-10-15T21:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: ODS MSOFFICE2K Email body border</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-MSOFFICE2K-Email-body-border/m-p/230736#M14534</link>
      <description>&lt;P&gt;I was able to get past the body or page border in the email body by using a proc template. &amp;nbsp;Apparently HTML/MSOFFICE2K ODS Meadow style generates a border around the page or body. &amp;nbsp;This proc template got rid of the borders.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;PROC TEMPLATE;
	DEFINE STYLE STYLES.TEST;
		PARENT=STYLES.MEADOW;
			CLASS BODY /	
				HTMLSTYLE="BORDER:NONE";
		        CLASS SYSTITLEANDFOOTERCONTAINER /
            	                HTMLSTYLE="BORDER:NONE";
			CLASS PAGE /
				HTMLSTYLE="BORDER:NONE";
	END;
RUN;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Oct 2015 13:47:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/ODS-MSOFFICE2K-Email-body-border/m-p/230736#M14534</guid>
      <dc:creator>jbiza09</dc:creator>
      <dc:date>2015-10-20T13:47:43Z</dc:date>
    </item>
  </channel>
</rss>

