Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Carriage return in tables

Status
Not open for further replies.

wuxapian

Programmer
Jun 13, 2001
52
0
0
GB
Hi all,

I am writing a word macro that builds an address and inserts it into a docvariable field within a table cell but it doesn't put in the VBCrLf (carriage returns). Does anyone know how to sort this?

TIA
Wux.
 
well if you want to include a carriage return, try

"string" & Chr(10) & "string"

hope this is what you mean.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top