I have a word document with vbs code in the text where it's going with the
help of a third party software to catch variables <variable>. (like crystal
report).to build the .document to be printed.

it was ok in word97, but now in the new version when the variable contain
Char(13) and it is in a table it add a square!!! instead a carriage return.
It works well outside of a table..

Is there something else to add a vbcode to be view like a CR in the tables.
to see
address
name
city

instead

address + little square + name + little square + city

when a string with CR included in it is sent to the word doc within a table

Need help.....

thanks,

Joe

Re: char(13) CariageReturn in word2003 !!!!! by Jezebel

Jezebel
Wed Feb 02 21:41:44 CST 2005

carriage return is Chr(13) -- vbCR -- inside a table, same as anywhere else
in the document. Bear in mind that an empty cell in Word always ends with
chr(13)chr(7).




"joe" <joe@discussions.microsoft.com> wrote in message
news:59EB62C9-34A9-4336-8A2F-B4B5D70668D8@microsoft.com...
>I have a word document with vbs code in the text where it's going with the
> help of a third party software to catch variables <variable>. (like
> crystal
> report).to build the .document to be printed.
>
> it was ok in word97, but now in the new version when the variable contain
> Char(13) and it is in a table it add a square!!! instead a carriage
> return.
> It works well outside of a table..
>
> Is there something else to add a vbcode to be view like a CR in the
> tables.
> to see
> address
> name
> city
>
> instead
>
> address + little square + name + little square + city
>
> when a string with CR included in it is sent to the word doc within a
> table
>
> Need help.....
>
> thanks,
>
> Joe