View Single Post
  #4   Report Post  
Posted to microsoft.public.word.pagelayout
Durin Durin is offline
external usenet poster
 
Posts: 4
Default Change one cell of a table


I said de third cell for example, i need de code that have this. Because
this code have one error for me:
.ActiveDocument.Tables(1).Columns(3).Width = InchesToPoints(2)
If i put this code vba said me you have one error, the table not have the
same width of cells.
Sorry my english is soo bad, and i canĀ“t explain me. Thanks for the quickly
request.


"Doug Robbins - Word MVP" wrote:

How do you want to change the width of the third cell? By reducing the
width of the second cell?

To do that, select the row and then hold down the Shift key while you drag
the table column marker on the ruler. For more precise adjustment, you can
hold down the Alt key as well, but it is holding down the shift key that
allows you to alter the width of the two cells without changing the total
width of that row.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
"Durin" wrote in message
...
Hello all, i need change one cell of a table. The width of this, but i
have
a table with different number of colums for rows. Me explain, in the first
row i have 1 column, in the second row i have 3 columns, and i need chage
the
width of the third cell that the second row.
Thanks all.


.