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
SAS Super FREQ
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

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
SAS Enterprise Guide vs. SAS Studio

What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.

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