- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 04-20-2010 11:49 AM
(2681 views)
Hi,
I make an xls file with ods tagsets.excelxp.
I would like to modify the size of the text printed by the statements :
title, title2 and title3.
Is it possible ?
Thanks.
ods listing close;
ods noproctitle;
title "title1";
title2 "title2";
title3 "title3";
ods tagsets.excelxp file="C:\toto.xls" style=seaside
options( embedded_titles='yes'
embedded_footnotes='yes'
Center_Horizontal = 'yes'
Center_Vertical = 'yes'
contents='no'
index='no'
sheet_interval='none'
orientation='portrait'
FitToPage = 'yes'
Absolute_Column_Width='15'
Autofit_Height = 'YES'
Pages_FitWidth = '1'
Pages_FitHeight = '3000'
Print_Footer='&E SERVICE, &J &C Audit v1.0 &D Pages &P sur &T'
)
;
proc freq data=sashelp.cars; tables model; run;
ods tagsets.excelxp close;
ods listing;
I make an xls file with ods tagsets.excelxp.
I would like to modify the size of the text printed by the statements :
title, title2 and title3.
Is it possible ?
Thanks.
ods listing close;
ods noproctitle;
title "title1";
title2 "title2";
title3 "title3";
ods tagsets.excelxp file="C:\toto.xls" style=seaside
options( embedded_titles='yes'
embedded_footnotes='yes'
Center_Horizontal = 'yes'
Center_Vertical = 'yes'
contents='no'
index='no'
sheet_interval='none'
orientation='portrait'
FitToPage = 'yes'
Absolute_Column_Width='15'
Autofit_Height = 'YES'
Pages_FitWidth = '1'
Pages_FitHeight = '3000'
Print_Footer='&E SERVICE, &J &C Audit v1.0 &D Pages &P sur &T'
)
;
proc freq data=sashelp.cars; tables model; run;
ods tagsets.excelxp close;
ods listing;
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi:
The easiest way to change the title -- no matter what your ODS destination is -- is to use the title/footnote specific options as shown below:
[pre]
title f='Courier New' h=14pt color=green bold "title1";
title2 f='Arial' h=14pt color=purple italic "title2";
title3 f='Times New Roman' h=12pt bold italic color=red "title3";
[/pre]
f= (or font=) supplies the font name -- I quote all font names, but you only need to quote font names with spaces
h= (or height=) supplies the size (called "height" as an artifact left over from SAS/GRAPH) -- I always specify H= in PT units for ODS destinations
c= (or color=) supplies the foreground color of the string text that follows
bold is the option that bolds the text string
italic is the option that italicizes the text string
All title and footnote options must be specified BEFORE the text string they are meant to change.
Another method of altering the title and footnote statement is to use ODS ESCAPECHAR functionality, however, you can probably get what you want using these specific options first.
cynthia
The easiest way to change the title -- no matter what your ODS destination is -- is to use the title/footnote specific options as shown below:
[pre]
title f='Courier New' h=14pt color=green bold "title1";
title2 f='Arial' h=14pt color=purple italic "title2";
title3 f='Times New Roman' h=12pt bold italic color=red "title3";
[/pre]
f= (or font=) supplies the font name -- I quote all font names, but you only need to quote font names with spaces
h= (or height=) supplies the size (called "height" as an artifact left over from SAS/GRAPH) -- I always specify H= in PT units for ODS destinations
c= (or color=) supplies the foreground color of the string text that follows
bold is the option that bolds the text string
italic is the option that italicizes the text string
All title and footnote options must be specified BEFORE the text string they are meant to change.
Another method of altering the title and footnote statement is to use ODS ESCAPECHAR functionality, however, you can probably get what you want using these specific options first.
cynthia
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Great,
thank you Cynthia.
Phil
thank you Cynthia.
Phil