how to replace the same excel template output with new data but the columns has been increased in the new datasets.
refer the below code:
libname _ibxls 'c:\path\libname.xlsx';
proc datasets lib=_ibxls;
delete data;
run;
proc datasets lib=_ibxls;
delete 'data'$n ;
run;
proc append base=_ibxls.data data=abc;
run;
libname _ibxls clear;
my excel sheet had 2 columns and I have delete the data present in the sheet that has to be replaced with the new data.in my new dataset have 5 column .how do we achieve the same templates for theses addition columns using above mentioned code.
Request you to please help me.