I am getting this error when attempting to use the ExcelGen code found elsewhere on this site.<BR><BR>I only get an error when I attempt to move a database field of type 203 (nxtext)into a spreadsheet cell. Everything else works fine. I have limited the number of characters from the ntext to as few as 10 characters, so I don&#039;t think it&#039;s a length thing. It could be that ntext is a Unicode data type.<BR><BR>Any ideas?<BR><BR>I am using this object:<BR><BR>OWC.Spreadsheet<BR><BR>I get this error from VBScript:<BR><BR>Error Type:<BR>Microsoft Office Web Components 9.0 (0x80070057)<BR>Invalid argument.<BR><BR>I use this code:<BR><BR>For Each objField in objRS.Fields<BR><BR> If IsNull(objField.Value) then<BR> objSpreadsheet.Cells(iRow, iCol).Value = ""<BR> Else<BR> If objField.Type = 203 Then<BR> objSpreadsheet.Cells(iRow, iCol).Value = objField.Value &#039;<BR>&#060;- Error is here<BR> Else<BR> objSpreadsheet.Cells(iRow, iCol).Value = objField.Value<BR> End If<BR> End If<BR><BR> iCol = iCol + 1<BR><BR> Next &#039;objField<BR><BR> objRS.MoveNext<BR><BR>Loop