Unfortunately it was your code, not mine
Row comes first, then column.
so this works fine.
- Code: Select all
((FarPoint.Win.Spread.CellType.TextCellType)_salesOrderForm.grdLines.ActiveSheet.Cells[Row, _salesOrderForm.grdLines.ActiveSheet.Columns["PartNo"].Index].CellType).MaxLength = 1000;
I can now physically enter in 1000 chars into the comments but as per OP they're not going to be entered by a user, the comments come from a quote. Moot point anyway.
When I save the sales order, I'm only left with the first 200 chars.
It's something on save that is doing it.


