Reply
 
Thread Tools Display Modes
  #1   Report Post  
neonico
 
Posts: n/a
Default pb creating of the cells in a table

Hi everybody!
i am working on mailmerging. I am trying to create cells dynamically in a
table. When I creat my cells in this manner:
for( int i=0; i4; i++)
{oCells.Add(vtOptional);}
The 3 first cells are created clearly. But the fourth cause the following
error:
"This exceeds the maximum width". How can we solve this problem.
Nico.

  #2   Report Post  
Cindy M -WordMVP-
 
Posts: n/a
Default

Hi Neonico,

i am working on mailmerging. I am trying to create cells dynamically in a
table. When I creat my cells in this manner:
for( int i=0; i4; i++)
{oCells.Add(vtOptional);}
The 3 first cells are created clearly. But the fourth cause the following
error:
"This exceeds the maximum width".

What are the dimensions (rows x cols) of the table, when you begin? And
what should the dimensions be when your code has executed?

Have you tried adding rows, or columns, instead?

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :-)

  #3   Report Post  
neonico
 
Posts: n/a
Default

One can't indefinitely create columns! By calling the method setwidth on my
cells, one control the width of the cells and the problem is solved.

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Selecting Table Cells John Tables 1 December 15th 04 05:10 AM
Text space in table cells in Word 2003 (using Windows XP) Jaykay Tables 1 December 2nd 04 11:16 AM
how can I use autosum in a WORD table with blank cells Jennifer from DPI Tables 4 November 11th 04 07:30 AM
Formula in table - Creating a final total from sub-total cells Anne Gilmour Tables 1 November 7th 04 04:14 AM
How do I link cells in a table? Tonia Tables 1 November 3rd 04 09:55 PM


All times are GMT +1. The time now is 12:54 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"