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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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