G
Gina
Hi
I am having a problem to spread a text over a couple of lines as soon as a
CHR$(13) is found.
it is found but the rest of the text (could be many lines) doesn't go to the
next line in my word table.
I obviously have to get the rest of the text but I don't know how to do
this!
..... I would be very grateful for some code ... please help
_______________________________
If (RSText("Discription").Value <> 0) Then
strToComp= RSText("Discription")
If InStr(1, strToComp, Chr$(13)) Then
.MoveDown Unit:=wdLine, Count:=1
Else
.MoveRight Unit:=wdCell, Count:=1
.MoveDown Unit:=wdLine, Count:=1
.TypeText Text:=RSText("Discription")
End If
End If
_______________________________
Thanks,
Gina
I am having a problem to spread a text over a couple of lines as soon as a
CHR$(13) is found.
it is found but the rest of the text (could be many lines) doesn't go to the
next line in my word table.
I obviously have to get the rest of the text but I don't know how to do
this!
..... I would be very grateful for some code ... please help
_______________________________
If (RSText("Discription").Value <> 0) Then
strToComp= RSText("Discription")
If InStr(1, strToComp, Chr$(13)) Then
.MoveDown Unit:=wdLine, Count:=1
Else
.MoveRight Unit:=wdCell, Count:=1
.MoveDown Unit:=wdLine, Count:=1
.TypeText Text:=RSText("Discription")
End If
End If
_______________________________
Thanks,
Gina