BookmarkSubscribeRSS Feed
mick_g
Calcite | Level 5

how do i change title1 style in and ODS proc print statement?

Sorry,  I have created an xml file but I don't know how to use it in SAS (just want the xml file used for output)

However the only item in the xml file is the heading for an excel sheet after that I want SAS to put my data set underneath

I thougth I could just change the Title1 style to match that of the xml file but not sure how to do it?

Any ideas I would love.

Thank so much

1 REPLY 1
ballardw
Super User

Style overides in the title statement might work for you depending on how complex you want things.  This example changes the default font size to 12 point, font or colors would be changed similar. Note the the instructions come BEFORE the text to modify, you can break a string into bits to change color

title Height=12pt "My title text";

Look in the online help under Title Statment for "enhancing titles" for some more examples.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 976 views
  • 0 likes
  • 2 in conversation