Cell Padding or Margins Within a Table

MS WORD

    Next

  • 1. Table and column widths
    I need to create a table which initially has two columns in it. Both will contain text and sometimes have a bottom border. When there is a bottom border I want the border to start and finish where the text starts and finishes. To achieve this, I have made the left and right cell margins 0cm. This seems to solve that problem initially - is this the correct approach? The next problem I have is that I need the text / bottom border of the first column to start exactly 3cm from the left hand edge of the page and the text / bottom border of the second column to start at exactly 3.6cm from the left hand edge of the page and end 3cm from the right hand edge of the page. What is the best way to achieve this? I shall later be adding rows and splitting them into more columns. I always need the table to be the same width I want to be able to specify EXACT column widths rather than just preferred. I don want Word to override my table / column widths. I am a sophisticated user of Word but do not do programming. This is getting to be a bit of a nightmare! I am using Word 2003 but need to save it in the format Word 97- 2003.
  • 2. How do I stop text disappearing in a table?
    I am amending a Word document created by someone else. There are several separate tables. When typing text to more than the width of these tables the extra text disappears, apparently behind the table. I need the cells to remain the same size (the information needs to remain on one page), so it would be useful if I could limit the amount of text someone can type. Lots of different users will need to use this document, so it needs to be easy to use. Can you tell me how to prevent the text from disappearing?
  • 3. Split Cells with Heading w/ Numbering not right in TOC
    In the first row of my table, I have a cell that was split into two rows (the left-most cell). To the right of that I have a cell that has Heading 1. When I don't have Outline Numbering turned on for my Heading 1 style, the TOC builds fine. When I turn on Outline Numbering for Heading 1, each occurance of the heading gets two entries in the TOC - one is correct, the other is just 1.....#, the number one, the dot leader, and the page number. EVERY entry in the TOC has the extra entry, all numbered 1. I think I get why the issue - it passes through the cell twice when building the TOC, once when it passes through the first row from my split cell, and once when it passes through the second row from my slit cell. So, how do I make it build the TOC without that duplicate 1...# entry? -- Cali Lang
  • 4. Word 2007 table effects
    I cannot apply table effects in Word 2007. Help text tells me to right click in table and click Select Table. This command doesn't appear, nor does the Effects button I see on the Help screen shot. I can do what I want in Publisher, but when I paste the table into Word, the effects are lost. I also don't understand why table styles don't always reflect the theme I choose (so when I change the theme, the table colours don't change). Can I cause a table to aopt theme colours other than by applying them manually? Can anyone help. Thanks
  • 5. Name Badges 2003
    Hi, I'm creating name badges from an Excel file. I'm using a name badge from Avery (5390) with 8 badges per page. I have 2 or 3 lines of text in the center of the badge and want the title to always be in the same spot. I would like the person's title to be located in the lower left hand corner of each badge. Is there a way to fix the field onto a location? I tried a text box, but couldn't get it to lock. Thanks. jbc

Cell Padding or Margins Within a Table

Postby SmF5 » Thu, 29 Apr 2010 20:46:04 GMT

Greetings!  I have a table with many cells containing text.  The text is not 
flush against the left border of the cells; there is reasonable space with 
the text left-aligned.  When I insert cells (a row at a time) into the table 
and add text, that text is flush against the left border.  All the text 
settings appear the same.  When I click within the original cells and check 
the tab ruler, I see the indent sliders are just to the right of the blue 
"partitions"; when I click within the cells I added, the sliders appear right 
on the "partitions" and won't allow me to slide them to the left.  I can't 
move them in the Paragraph dialog box either.

Any suggestions?
Thanks,

Re: Cell Padding or Margins Within a Table

Postby Suzanne S. Barnhill » Thu, 29 Apr 2010 21:16:06 GMT

Have you checked the cell margins in the Table Properties (Cell Options)?

-- 
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
 http://www.**--****.com/ 







Re: Cell Padding or Margins Within a Table

Postby SmF5 » Thu, 29 Apr 2010 22:28:01 GMT

Once again, Ms. Barnhill, you have saved my bacon.  When I selected the 
entire table and looked at the cell properties, the margins were blank.  I 
checked off the "Same as the whole table", but no changes happened.  When I 
selected a range of cells and looked at the cell properties, they were zeros. 
 I typed in the margins from a cell with "good" spacing, and it worked like a 
charm.  Thanks again!!

Re: Cell Padding or Margins Within a Table

Postby Suzanne S. Barnhill » Fri, 30 Apr 2010 00:12:19 GMT

I'm glad that helped. I find that often you have to drill down to get 
meaningful results (selecting an entire table/document just returns 
garbage).

-- 
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
 http://www.**--****.com/ 







Similar Threads:

1.Set Cell Padding on word tables with merged cells

Dear Experts:

Below macro sets certain padding values for the selected table.
Regrettably it fails to work on tables with merged cells. Have you got
any idea how to re-write the code so that tables featuring merged
cells also get worked on?

Help is much appreciated. Thank you very much in advance.

Regards, Andreas


Sub SetPadding

Dim myCell As Cell
Dim myRow As row
Dim myTable As Table

Set myTable = Selection.Tables(1)
For Each myRow In myTable.rows
    For Each myCell In myRow.Cells
        myCell.TopPadding = CentimetersToPoints(0)
        myCell.BottomPadding = CentimetersToPoints(0)
        myCell.LeftPadding = CentimetersToPoints(0.19)
        myCell.RightPadding = CentimetersToPoints(0.19)
        myCell.WordWrap = True
        myCell.FitText = False

    Next
Next

End Sub

2.Cell within table within label document fails

I'm executing a mail merge into a label document which is divided into the
typical 10 parts. Within each part I have placed a 3-cell table which is in
this format:

  +-----------------------+
   |      Return Address      |
  +-----------------------+
   |    {{Name}}               |
   |    {{Line1}}                |
   |    {{Line2}} ...etc...    |
  +-----------------------+
   |       Additional text       |
  +-----------------------+

The mail-merge works correctly in regards to the fields being filled in
correctly. The problem is that the additional text does not appear on the
printout of the merged document. Interestingly enough, however, the
additional text *does* appear in the print preview. Thank you in advance for
your response.

Regards,
Paul Fry


3.How--split text within cell of table when cell length goes 2d pg

I have a table I created with two columns and numerous rows.  The text in the 
left column of each row is set.  The text in the right column within each 
cell changes -- sometimes one line of typing, many times 15-20 lines of 
typing.  The table needs to be able to separate text within the right column 
if it runs over onto the next page.  It also needs to widow/orphan on each 
page.  Right now if the cell contains more lines of typing than what will fit 
on each specific page, the entire cell is carried over to the next page 
rather than doing a widow/orphan and essentially splitting the cells of one 
row to be on two pages.  How am I able to split the text of one cell in a 
two-column table to run from one page onto the next? 

4.VBA: After copying a cell's comment (within a table) how to move back to that cell

Hello,

  I am trying create a macro that auto increments the first column
(e.g., step numbers) and maintain any comments within that cell.  I
have a macro that will auto increment and copy the cell's comment, but
once I insert the comment I can't move to the next well properly as it
cursor is not within that cell where the comment was inserted.  I have
tried various methods, but can't get anything to work well.  Below is
the VBA macro that performs this task.  It is not pretty, but sort of
works:

Sub InsertStepNumbersEx()

  Dim stepCount As Integer
  Dim startStep As String
  Dim aCom As Comment
  Dim comStr As String
  Dim oRng As Range
  Dim aSel As Selection

  startStep = InputBox(Prompt:="Enter the starting step number", _
          Title:="Starting Step Number", Default:="0")

  stepCount = CInt(startStep)
  While Selection.Information(wdWithInTable) = True

    ' Select the current cell comment
    Selection.HomeKey Unit:=wdLine
    Selection.EndKey Unit:=wdLine, Extend:=wdExtend
    Set aCom = Selection.Comments(1)
    aStr = aCom.Range.Text

    ' Insert the Step Numner
    Set aSel = Selection
    Selection.TypeText Text:=stepCount & "."

    ' Select the current cell and add the comment
    If Not IsEmpty(aStr) Then
      Selection.HomeKey Unit:=wdLine
      Selection.EndKey Unit:=wdLine, Extend:=wdExtend
      Set oRng = Selection.Range
      Selection.Comments.Add Range:=oRng
      Selection.TypeText aStr
    End If

    Selection = aSel
    Selection.MoveDown Unit:=wdLine, Count:=1
    stepCount = stepCount + 1

  Wend

End Sub


  Any help on getting the cursor to move back to the cell's original
position is greatly appreciated.

Mark

5.Excel - allow cell margins similar to Word table cells

6. word table cell resize or word table cell size change or word table change cell size

7. Top/Bottom padding in table cells: error when appending a line from clipboard

8. Cell padding applied in Word 2000 tables disappears in Word 97



Return to MS WORD

 

Who is online

Users browsing this forum: No registered users and 96 guest