BookmarkSubscribeRSS Feed
SanjayM
Calcite | Level 5
Hi am using the below mentioned code to export the output to an excel file. The cells are shaded with some colour.

ods msoffice2k file= "/apps/sas/ReportsRepository/Reports/BSS/BMA/CSV/Monthly/myexcelfile.xls" ;

proc report data=WORK.QUERY8283 nowd headskip split='*' spacing=1;

How can I supress the cell background colouring
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:
Try using different style templates. STYLE=MINIMAL is a very plain style.
[pre]
ods msoffice2k file= "/myexcelfile.xls" style=MINIMAL;
...
ods msoffice2k close;
[/pre]

In that way, the HTML file that you create and open with Excel will have some bolding in the column headers (if I remember correctly) but there are no colors, otherwise.

cynthia

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
  • 1 reply
  • 886 views
  • 0 likes
  • 2 in conversation