
Inserting paragraph in the table using VB
Hi Thyagu,
Quote:
> I am creating word doc on the fly using VB. Please let me know is it
> possible to insert 2 paragraphs in a table column.
First, you want to have a way to access the specific table. I'd say you
should do so using an object variable. Roughly like this:
Set tbl = ActiveDocument.Tables.Add ...
Then you can do things with the table cells like this:
tbl.Cell(1,1).Range.Text = "First para text" & vbCR & "Second para
text"
Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister
http://www.mvps.org/word
http://go.compuserve.com/MSOfficeForum
This reply is posted in the Newsgroup; please post any follow question
or reply in the newsgroup and not by e-mail :-)