I'm using SAS 9.2
When using the ExcelXp tagset, when I place a '/' in the SHEET_NAME, it is replaced by a space in the XML file. Is there a way to avoid this?
Sample code:
ods tagsets.ExcelXP path="C:\" file="my report.xml" style=Journal;
ods tagsets.ExcelXP options(sheet_name="Mostly 3/4 or Better" sheet_interval='None');
proc report data=sashelp.class headline missing nowd split='^^^';
run;
ods tagsets.ExcelXP close;
Thanks in advance!
This is a drawback in excel sheet naming convention, which is the reason why you cannot have that special character
There are few rules when naming worksheets.
If you are not on the latest tagset version v1.131, download it from here and check if you still get the same problem:
http://support.sas.com/rnd/base/ods/odsmarkup/index.html
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.
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.