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-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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
  • 680 views
  • 0 likes
  • 2 in conversation