Hi Dear, I could able to use the code in 9.3 to get the download button,but the issue is I couldn't able to download the file in excel format,By default its in csv format. Kindly find the below code for your reference and help me in changing the default format as Excel. %let csv=%qsubstr(&_replay,2,%length(&_replay)-3).document.csv; ods html style =mystyle; data _NULL_; file _webout; put '<table border="1" width="100" bordercolorlight=#BBBBBB cellspacing="0" cellpadding="0">'; put "<head>"; put ' <tr>'; put ' <td width="100%" bgcolor="#CCFFFF" align="center">'; put " <a href='&CSV' target='_blank'><font size='2' color='black'>Download</font></a><br>"; put ' </tr>'; put '</table>'; put '<!--END OF EDIT-->'; run; filename csvout catalog "&_tmpcat..document.csv";
... View more