| / rrb 08May08
style(COLUMN)={HTMLSTYLE="mso-number-format:'\@'"} added
/ to proc report call so that MS Office treats the cells as / text-formatted cells. The same can be achieved using / headtext="<style> td {mso-number-format:\@}</style>" / in the ODS statement but it is hard to remember. |
| options ls=90;
proc format;
proc sort data=sasuser.demog(where=(fascd=1))
data demog;
%popfmt(demog,trtcd,uniqueid=patno invid) %unistats(dsin=demog,unicatrep=yes,total=yes,
|
text (you might have
to download this file and read it using Notepad)
html
xls (this will only look correct in
Excel)
doc (this will only look correct using
Word)
Go back to the home page.
E-mail the macro and web site author.