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

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

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
  • 604 views
  • 0 likes
  • 2 in conversation