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;
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
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
Thanks Cynthia, it worked
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.