B
Blackberry
Hi All
I'm looping an array of text into a number of cells in 1 x MS Word table via
my VB6 app.
To make sure each text value is on a new line of the table cell I put a
carriage return/paragraph marker after it.
To start with I used oDoc.Range.Text = oDoc.Range.Text & vbCrLf, but for
some reason this always creates an extra return/blank line.
So not to be out-done by this I thought I would use the
oDoc.Range.InsertParagraph or oDoc.Range.InsertParagraphAfter commands, but
for some reason even though the loop works fine for all of the other values
the last text value to be put into the table always causes this 5904 error.
Any ideas?
I'm looping an array of text into a number of cells in 1 x MS Word table via
my VB6 app.
To make sure each text value is on a new line of the table cell I put a
carriage return/paragraph marker after it.
To start with I used oDoc.Range.Text = oDoc.Range.Text & vbCrLf, but for
some reason this always creates an extra return/blank line.
So not to be out-done by this I thought I would use the
oDoc.Range.InsertParagraph or oDoc.Range.InsertParagraphAfter commands, but
for some reason even though the loop works fine for all of the other values
the last text value to be put into the table always causes this 5904 error.
Any ideas?