Hi:
This is not a good idea:
proc template;
define style Styles.sasweb;
parent=styles.excel;
I never, never, NEVER, recommend defining a style with the same name as the SAS-defined style. Anyone who uses your code will see style=sasweb and will not understand why they are not getting the same results as you are getting. And, then, if you are running a local version of SAS, I have seen people corrupt their template store accidentally by having the wrong permissions on the SAS production template store (SASHELP.TMPLMST). So, never a good idea to attempt to redefine or define a new style with the same name as an production style template.
Instead, I would expect to see:
proc template;
define style Styles.newstyle;
parent=styles.parentstyle;
OR, for your code:
proc template;
define style Styles.myexcel;
parent=styles.sasweb;
I sincerely hope that the code you posted was a typo and that you have not accidentally ruined the production version of the SASWEB style.
cynthia
... View more