Advertisement

05.05.2008 at 01:45PM PDT, ID: 23377726
[x]
Attachment Details

Automate Word from VB.Net - next line

Asked by webkiwi1 in Microsoft Visual Basic.Net

Hello experts,
VB.Net, VS2005

I am working on creating Word document that consists of a simple sheet of labels. The text for each label comes froma  data table.

I am using various peices of code from (http://support.microsoft.com/kb/313193), in particualr the section oTable.Cell(r,c).range.text =

Everything is working fine, but my text for each cell needs to consist of several lines, i.e. an address. How do i enter each line and then issue a next line or carriage return for the table cell?

Thanks.Start Free Trial
[+][-]05.05.2008 at 02:06PM PDT, ID: 21503005

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Visual Basic.Net
Sign Up Now!
Solution Provided By: webtubbs
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628