Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.pagelayout
Durin Durin is offline
external usenet poster
 
Posts: 4
Default Change one cell of a table

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.
  #2   Report Post  
Posted to microsoft.public.word.pagelayout
Durin Durin is offline
external usenet poster
 
Posts: 4
Default Change one cell of a table


Excuse me, i have ms office 2003
  #3   Report Post  
Posted to microsoft.public.word.pagelayout
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Change one cell of a table

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.


  #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.


.

  #5   Report Post  
Posted to microsoft.public.word.pagelayout
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default Change one cell of a table

Hi Durin,

Try:
ActiveDocument.Tables(1).Rows(2).Cells(3).Width = InchesToPoints(2)

--
Cheers
macropod
[Microsoft MVP - Word]


"Durin" wrote in message ...

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.


.




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

Thanks macropod and Doug Robbins

"macropod" wrote:

Hi Durin,

Try:
ActiveDocument.Tables(1).Rows(2).Cells(3).Width = InchesToPoints(2)

--
Cheers
macropod
[Microsoft MVP - Word]


"Durin" wrote in message ...

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.

.


.

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
Change height of one cell in table column LisaK Tables 1 June 16th 09 06:35 PM
How do I change a table cell color globally? CA_stateworker Tables 3 March 14th 09 06:10 AM
Change number of column in an individual cell in a table JeffH Tables 2 November 30th 06 07:37 PM
word table cell resize or word table cell size change or word table change cell size [email protected] Tables 0 January 13th 05 09:55 PM
Change cell height in one cell only in a table kat Tables 1 November 15th 04 12:26 AM


All times are GMT +1. The time now is 12:55 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"