BookmarkSubscribeRSS Feed
Doug____
Pyrite | Level 9

I'm receiving the following errors when creating a multi-sheet excel workbook:

Repaired Part: /xl/worksheets/sheet1.xml part with XML error. Load error. Line 37, column 28.
Removed Records: Merge cells from /xl/worksheets/sheet1.xml part
Removed Records: Merge cells from /xl/worksheets/sheet2.xml part
Removed Records: Merge cells from /xl/worksheets/sheet3.xml part
Removed Records: Merge cells from /xl/worksheets/sheet4.xml part
Removed Records: Merge cells from /xl/worksheets/sheet5.xml part
Removed Records: Merge cells from /xl/worksheets/sheet6.xml part
Removed Records: Merge cells from /xl/worksheets/sheet7.xml part
Removed Records: Merge cells from /xl/worksheets/sheet8.xml part
Removed Records: Merge cells from /xl/worksheets/sheet9.xml part

 

My report build code appears as follows:

All macro variables resolve as expected and there are no errors or warnings in the log.

ODS excel File="x:\Detail Exceptions &&CA&H &rpt_as_of..xlsx" ;

ods excel options (absolute_column_width = "30,8,20,20,20" embedded_titles = "Yes" embedded_footnotes = "Yes" sheet_name = "&sheet");

 

NOTE: Writing EXCEL file: x:\Detail Exceptions Joe Smith 01-31-2020.xlsx

 

1 REPLY 1
Reeza
Super User

What version of SAS do you have? You can run the following to determine the version:

 

proc product_status;run;

Ideally, if you could show your code as well, or a reproducible example using a SASHELP data set it would help us help you debug the issue. Start with the version first, ODS EXCEL was buggy in 9.4M3/4 though it was production. It's been fairly stable in 5 but doesn't handle large files well still...unfortunately 😞

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1613 views
  • 1 like
  • 2 in conversation