BookmarkSubscribeRSS Feed
Medanmani
Calcite | Level 5
Hi frnds,i have one data with above 60 columns,every time i unable to go last column in the dataset,
Can anyone tell how to freeze the data for 1st 5 columns
4 REPLIES 4
Medanmani
Calcite | Level 5
In a dataset total 36 columns with variable names ,i want every 6 variable names has one colour
How we can do it in SAS
Reeza
Super User

How are you reporting your data, HTML, XLSX, PDF, RTF? 

 

Either way, PROC REPORT will allow you to colour code your headings, if you search for PROC REPORT CUSTOM styles or Complex Reports via Cynthia Zender you'll find a lot of examples.

 

Note that this isn't easily available via the SAS GUI, it requires programming.

Medanmani
Calcite | Level 5
Yeah thank you reeza,
I am exporting the data in xlsx
But I didnt require to report that data,
So I need without using PROC REPORT how I can give that customization
Reeza
Super User

PROC EXPORT doesn't support colour coding. That's a straight data dump, no formatting.

 

ODS EXCEL and TAGSETS.EXCELXP support formatting and styles. You can even freeze panes and add filters/drop downs.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 4 replies
  • 2420 views
  • 0 likes
  • 2 in conversation