BookmarkSubscribeRSS Feed
DavidPhillips2
Rhodochrosite | Level 12

When I use ODS PDF my titles show at the top of each proc report but not when I use ODS Excel.  How do I keep my titles in ODS Excel?

8 REPLIES 8
PaigeMiller
Diamond | Level 26
ods excel file="abc.xlsx" options(embedded_titles='YES');

There are many options available for ODS Excel, you might want to peruse the documentation.

https://documentation.sas.com/?docsetId=odsug&docsetTarget=p09n5pw9ol0897n1qe04zeur27rv.htm&docsetVe...

--
Paige Miller
DavidPhillips2
Rhodochrosite | Level 12

That works.  Is there a way to have a banner?  In ods pdf I used title1 '~S={preimage="/serverpath/EAAR_Yellow_(IRDS).jpg"}';

PaigeMiller
Diamond | Level 26

I don't know what you mean by "banner".

 

Show me the "banner" in the PDF file.

--
Paige Miller
DavidPhillips2
Rhodochrosite | Level 12

In a pdf file if you use the code i posted it creates an image in the title that functions as a banner in place of title1.

PaigeMiller
Diamond | Level 26

But you could still show me what it does.

--
Paige Miller
DavidPhillips2
Rhodochrosite | Level 12

title example.png

DavidPhillips2
Rhodochrosite | Level 12

Title1 is the image 

Title2 is text.

PaigeMiller
Diamond | Level 26

I have to say, I don't know the answer, I have never tried to do this with ODS Excel.

--
Paige Miller

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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
  • 8 replies
  • 2886 views
  • 3 likes
  • 2 in conversation