Hi,
I am creating an Excel sheet with multiple tables, with the first table being two columns and the rest are 8 columns. The problem is the titles seemed to be centered with respect to the first table but not the others. Is there an option to fix that? Either making all titles centered with respect to a reference table (other than the first table) or all titles centered to their respective tables.
Thanks,
J-C
Hi,
Are you using the ODS TAGSET.EXCEL statement to create the Excel sheet? If so, you can run the following code to see all of the options that are available:
ods html close;
ods tagsets.excelxp file='test.xml' options(doc='help');
ods _all_ close;
This will write the options to your SAS log. There are a few options that affect titles there.
Here is an example of how to do this in the ODS doc:
Just substitute "tagset.excelxp" for "tagsets.htmlpanel".
I hope this helps.
Julie
Also, what procedure(s) are you using? Some procedures, Print, Report and Tabulate, allow overrides and can use Excel formatting codes with some work.
Yep. And if you need information on style overrides, look here:
and/or here:
http://support.sas.com/rnd/base/ods/scratch/reporting-styles-tips.pdf
Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.