"Run-time Error 1004" when you make changes to legend entries …
https://learn.microsoft.com/en-us/office/troubleshoot/excel/run-time-error-1004
WEBMay 5, 2022 · Run-time error '1004': Application or object-defined error. Cause. This behavior occurs when the Excel chart contains more legend entries than there is space available to display the legend entries on the Excel chart. When this behavior occurs, Microsoft Excel may truncate the legend entries.
DA: 36 PA: 11 MOZ Rank: 4