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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
Change one cell of a table
Excuse me, i have ms office 2003 |
#3
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|