BookmarkSubscribeRSS Feed
Hazou
Calcite | Level 5

Hello, 

 

I have a problem when i want to open Excel File with many sheets after a proc export on server. 

Sometimes its works, sometimes not. 

After analyse, for Data < 5500 rows, i can't open the excel file, for the data > 5500 rows, it's working.

Do you have a idea ? Thanks a lot. 

ps : On server, i can't use XLSX, EXCEL, EXCEL5. 

 

%MACRO Export_ness (data,table, sheet);
PROC EXPORT DATA = &data.
OUTFILE = "/..../&table..xlsx"
DBMS = xlsx REPLACE ;
SHEET = "&sheet." ;
RUN ;
%mend;

%Export_ness (test,FIILE, sheet1);
%Export_ness (test,FILE, sheet2);

 

Best Regards

Hazou

1 REPLY 1
ChrisNZ
Tourmaline | Level 20

> On server, i can't use XLSX, EXCEL, EXCEL5. 

Yet the code uses XLSX

 

> Sometimes its works, sometimes not. 

What does that mean? Errors in the log? missing data?

 

Show us the log.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 851 views
  • 0 likes
  • 2 in conversation