char(13) CariageReturn in word2003 !!!!!

J

joe

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
 
J

Jezebel

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).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top