I am copying text from table cells in a Word document to cells in an Excel spreadsheet.
I have a VBA macro in Word that mostly works using the following statement to copy the cell text
nWorksheet.Cells(nRow, nCol).Text = oDocument.Range(Start:=oCell.Range.Start, End:=oCell.Range.End - 1)
Unfortunately, what ends up in the spreadsheet cell seems to have an extra invisible character that acts like a newline or carriage return.
Does anyone know what this extra character is or how to avoid it?
Thanks!