Cynthia, Thank you so much for your help and patience. I did find some interesting things. When I user selects they want their output in excel my macro includes a program that has this proc export: proc export data = work.&fname outfile= "&path.\&file2..xlsx" dbms=excel replace ; run ; if I run it like this it doesn't work. If I add (obs=25059) after data it works. If I change this to (obs=25060) it stops working. I also tried to just create 1 variable with 110,000 rows. data temp ; do i = 1 to 110000 ; output ; end ; run ; proc export data = work.temp outfile= "d:\temp\temp.xlsx" dbms=excel replace ; run ; This will work but if I change it to 115,000 it stops working again. I get an empty xlsx file with both and a tab name with letters and numbers. Is there a file size limit? Am I using the wrong dbms? Thank you so much for your help
... View more