Hi, I usually export datas from SAS to excel using the next code:

PROC EXPORT DATA= carpeta.tendencia1 outfile= "~/.../" dbms=xlsx replace;
sheet="tendencia1";
PROC EXPORT DATA=res03.tendencia2 outfile="~/../" dbms=xlsx;
sheet="tendencia2";
run;

but actually it shows me the next error:

ERROR: DBMS type XLSX not valid for export.

can you help me with this problem? Thanks.