I use tagset to generate a report and convert the report to an Excel spreadsheet. But there is a character variable, which is 19 digit. When the report convert to excel, it is automatically set the last 4 digit to 0000. Anybody know how to fix it? Sample data: country account # US 1234567891234567899 UK 9876543219876543219 .... wrong output in Excel: country account # US 1234567891234560000 UK 9876543219876540000 Code: ods tagsets.excelxp path='/path/' file="myreport.xls"; ods tagsets.excelxp options(sheet_interval='bygroup'); proc report data=mydata by country; column account#; define account#/display 'Account #' f=$char19. style(column)={tagattr="###################"}; run;
... View more