Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Is there a way to merge only the columns in a table without changing the rows?
I have a table that consists of 3 columns and a number of rows. For each row I want to merge the 2nd and 3rd columns. The only thing I can find is merge cells which merges the highlighted columns and rows into one cell. If there is a way to merge only the columns, please let me know. thanks, |
#2
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
A macro should do it
Sub MergeCols2_3() Dim cTable As Table Dim oRng As Range Set cTable = ActiveDocument.Tables(1) For i = 1 To cTable.Rows.Count Set oRng = ActiveDocument.Range _ (start:=cTable.Cell(i, 2).Range.start, _ End:=cTable.Cell(i, 3).Range.End) oRng.Cells.Merge Next i End Sub http://www.gmayor.com/installing_macro.htm -- Graham Mayor - Word MVP My web site www.gmayor.com Word MVP web site http://word.mvps.org Jules wrote: Is there a way to merge only the columns in a table without changing the rows? I have a table that consists of 3 columns and a number of rows. For each row I want to merge the 2nd and 3rd columns. The only thing I can find is merge cells which merges the highlighted columns and rows into one cell. If there is a way to merge only the columns, please let me know. thanks, |
#4
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
This is one of the few cases where the drawing tools on the Tables and
Borders toolbar come in handy. I don't advise drawing tables with the pencil, but you can use the eraser to erase the boundary between columns without combining the rows. This requires a little trial and error, but it's the only way I know of (short of a macro) to do this in recent versions of Word. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA "Jules" wrote in message ... Is there a way to merge only the columns in a table without changing the rows? I have a table that consists of 3 columns and a number of rows. For each row I want to merge the 2nd and 3rd columns. The only thing I can find is merge cells which merges the highlighted columns and rows into one cell. If there is a way to merge only the columns, please let me know. thanks, |
#5
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Thanks everyone. Went with Suzanne's eraser idea as this seems to suit our
purposes most. Wow, what a handy little tool. Thank you. "Suzanne S. Barnhill" wrote: This is one of the few cases where the drawing tools on the Tables and Borders toolbar come in handy. I don't advise drawing tables with the pencil, but you can use the eraser to erase the boundary between columns without combining the rows. This requires a little trial and error, but it's the only way I know of (short of a macro) to do this in recent versions of Word. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA "Jules" wrote in message ... Is there a way to merge only the columns in a table without changing the rows? I have a table that consists of 3 columns and a number of rows. For each row I want to merge the 2nd and 3rd columns. The only thing I can find is merge cells which merges the highlighted columns and rows into one cell. If there is a way to merge only the columns, please let me know. thanks, |
#6
![]()
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
![]()
Thank goodness for it, too. I don't know what the developers were thinking
when they changed the behavior of merging columns to merge them all into one big cell. Too much Mountain Dew, I guess (or not enough). -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA "Jules" wrote in message ... Thanks everyone. Went with Suzanne's eraser idea as this seems to suit our purposes most. Wow, what a handy little tool. Thank you. "Suzanne S. Barnhill" wrote: This is one of the few cases where the drawing tools on the Tables and Borders toolbar come in handy. I don't advise drawing tables with the pencil, but you can use the eraser to erase the boundary between columns without combining the rows. This requires a little trial and error, but it's the only way I know of (short of a macro) to do this in recent versions of Word. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA "Jules" wrote in message ... Is there a way to merge only the columns in a table without changing the rows? I have a table that consists of 3 columns and a number of rows. For each row I want to merge the 2nd and 3rd columns. The only thing I can find is merge cells which merges the highlighted columns and rows into one cell. If there is a way to merge only the columns, please let me know. thanks, |
Reply |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Using Columns within a Table | Microsoft Word Help | |||
Data Merge - Excel Records to Word Table Columns NOT Rows | Mailmerge | |||
columns to table? | Mailmerge | |||
Tabbing to columns in a table using mail merge fields | Mailmerge | |||
Table columns | Tables |