BookmarkSubscribeRSS Feed
sorosch
Fluorite | Level 6

Hello,

 

how can i freeze the headline in PROC REPORT when i scroll the page? Is this possible?

 

Thank you very much

 

Best regards

George

3 REPLIES 3
PaigeMiller
Diamond | Level 26

If you are outputting the results of PROC REPORT to Excel via ODS EXCEL or ODS TAGSETS.EXCELXP, then freezing the top row in place is possible, as this is a feature of Excel.

 

ods excel file="myfolder\ods_excel_example.xlsx" options(frozen_headers="ON");

 

If you are outputting the results to some other destination, it probably isn't possible as there is no concept of freezing the top row in the other destinations.

--
Paige Miller
Cynthia_sas
SAS Super FREQ
Hi:
And, there's this https://support.sas.com/rnd/base/ods/odsmarkup/htmlscroll.html for HTML, but I haven't tried this in a while and I believe it was written for HTML3.2 or HTML4, so I'm not sure how it would work in the HTML5 world.

cynthia
sorosch
Fluorite | Level 6

Thank you very much.

 

Of course - I need it for HTML...:) I hope the tutorial will work also with new browsers.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 3 replies
  • 1716 views
  • 0 likes
  • 3 in conversation