A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Instead of selecting the complete row, select only the 40 columns and 1 row data.
than check pasting it.
Becasue if you use the complete row, it utilises the complete resources till the last column and that may be the reason your getting this error.