A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » Page Layout
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Change one cell of a table



 
 
Thread Tools Display Modes
  #1  
Old October 27th, 2009, 08:40 AM posted to microsoft.public.word.pagelayout
Durin
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  
Old October 27th, 2009, 08:46 AM posted to microsoft.public.word.pagelayout
Durin
external usenet poster
 
Posts: 4
Default Change one cell of a table


Excuse me, i have ms office 2003
  #3  
Old October 27th, 2009, 09:31 AM posted to microsoft.public.word.pagelayout
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
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  
Old October 27th, 2009, 10:24 AM posted to microsoft.public.word.pagelayout
Durin
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  
Old October 27th, 2009, 10:38 AM posted to microsoft.public.word.pagelayout
macropod[_2_]
external usenet poster
 
Posts: 2,402
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  
Old October 27th, 2009, 12:10 PM posted to microsoft.public.word.pagelayout
Durin
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.

.


.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:01 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.