K
KR
I am cycling through my documents concatenating the contents of two cells
(cell.range) in each row of source tables. I do so by taking
left(Cell1.text, len(Cell1.text)-2) & Cell2.text
This does put both cell contents together, but it leaves me with an extra
hard return between cell1 and cell2 (cell2 text starts on a new line in the
destination cell). I then copy/paste these cells to Excel, which causes a
problem because Excel automatically breaks this into two rows, whereas I
need it all in one.
Can someone point me to a resource that explains what hidden codes exist
within each table cell, and whether the commands Left (and perhaps Right)
are sufficient if I trim off the appropriate number of characters, or if I
need to do something else to ensure that the code will be robust? I don't
create the source documents, so I am worried about any variability that
might be caused by what the users send me.
Thanks!
Keith
(cell.range) in each row of source tables. I do so by taking
left(Cell1.text, len(Cell1.text)-2) & Cell2.text
This does put both cell contents together, but it leaves me with an extra
hard return between cell1 and cell2 (cell2 text starts on a new line in the
destination cell). I then copy/paste these cells to Excel, which causes a
problem because Excel automatically breaks this into two rows, whereas I
need it all in one.
Can someone point me to a resource that explains what hidden codes exist
within each table cell, and whether the commands Left (and perhaps Right)
are sufficient if I trim off the appropriate number of characters, or if I
need to do something else to ensure that the code will be robust? I don't
create the source documents, so I am worried about any variability that
might be caused by what the users send me.
Thanks!
Keith