223. A DYNAMIC RANGE EXCEEDED BOUNDARY LIMITS WRITING TO RANGE: RANGE_NAME

You attempted to write more values to a spreadsheet than it can actually hold.  In general, this means the dynamic range created by LINGO to receive all the values has overflowed the row limit of the spreadsheet.  An option is to specify the range yourself so that it stays within the limits of the workbook.