The SAS Output Delivery System and reporting techniques

Background color change in excelxp

Accepted Solution Solved
Reply
Contributor
Posts: 31
Accepted Solution

Background color change in excelxp

Hi,

I have a question on background coloring in the output created from ODS excelxp.  When i run the program i notice that the background is always white for the entire excel sheet.

Does this have any performance issue - would it help if I could make all cells transparent ?

The "Collecting" Status in SAS eg  take a while to load the output,  trying to see if i can reduce the style and load excel quicker.

I tried the following code, but only the data cell have a transparent background, all the cells outside the box still have white background.  Please see the attachmen.

Proc template

define style styles.test;

parent=styles.minimal;

style body from body /

background=transparent;

style table from table /

cellspacing=0

borderwidth=0;

end;

Run;


background.JPG

Accepted Solutions
Solution
‎04-01-2014 04:06 PM
SAS Super FREQ
Posts: 8,743

Re: Background color change in excelxp

Hi, I am not sure, exactly, what you are trying to do. If you want to see the "grid" lines in the Excel sheet, then you have to do more than change the style. Please refer to this Tech Support note (46949 - You cannot use a style template with the ExcelXP tagset to add grid lines to the body of a w...) for the complete code that you have to implement. If you need help getting the code to work on your server and EG configuration, then the best thing to do would be to work with Tech Support.

  The ExcelXP output is XML which corresponds to the Microsoft specification, I doubt that the background color is making EG take time to load the output. But again Tech Support can work with you on this.

cynthia

View solution in original post


All Replies
Solution
‎04-01-2014 04:06 PM
SAS Super FREQ
Posts: 8,743

Re: Background color change in excelxp

Hi, I am not sure, exactly, what you are trying to do. If you want to see the "grid" lines in the Excel sheet, then you have to do more than change the style. Please refer to this Tech Support note (46949 - You cannot use a style template with the ExcelXP tagset to add grid lines to the body of a w...) for the complete code that you have to implement. If you need help getting the code to work on your server and EG configuration, then the best thing to do would be to work with Tech Support.

  The ExcelXP output is XML which corresponds to the Microsoft specification, I doubt that the background color is making EG take time to load the output. But again Tech Support can work with you on this.

cynthia

Contributor
Posts: 31

Re: Background color change in excelxp

Thanks Cynthia, it worked Smiley Happy

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 757 views
  • 0 likes
  • 2 in conversation