Results 1 to 4 of 4
  1. #1
    Star Lounger
    Join Date
    Jun 2005
    Posts
    87
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Direct formatting in tables (WordXP)

    Is there a way to remove direct formatting in tables (that is, applied to the cell margins)? The "Table Normal" style has cell margins of 0.19 cm. However, sometimes I receive document where someone has changed the cells margins to 0.05 cm.

    To remove direct formatting from a paragraph, I just type Ctrl + Spacebar and it goes back to the default. Is there a way to do this with tables?

    Attached is an example.
    Attached Files Attached Files

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Direct formatting in tables (WordXP)

    The shortcut to conform paragraph formatting to its underlying style is Ctrl+Q. I don't know whether that works with Table styles or only Paragraph styles.

  3. #3
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: Direct formatting in tables (WordXP)

    I can't see how to modify the Table Normal style - are you able to edit this style? Are you sure that Table Normal explicitly defines the cell width or is that left up to the default Word setting.

    Reapplying a table style seems to override local cell indents on Word 2003. This appears to work for either general table and specific cell indents. Perhaps you need to use another table style which you can edit and therefore explicitly define the cell margins.
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  4. #4
    Star Lounger
    Join Date
    Jan 2001
    Location
    Los Angeles
    Posts
    78
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Direct formatting in tables (WordXP)

    This has always bothered me. You can select the entire table, and go to Table Properties, Cells, and attempt to set the cell margins back to the table default cell margins (by checking the "same as the whole table"), and it just won't take. You could set the cell margins back to the table default, cell by cell. This sometimes works. If the value is "0" it ignores it.

    Now that you reminded me that this is lacking... here's a little macro that will reset each cell you have selected (one, a row, a column, etc.)

    Sub ResetCellMargins()

    Dim intCell As Integer
    If Selection.Cells.Count > 0 Then
    For intCell = 1 To Selection.Cells.Count
    Selection.Cells(intCell).TopPadding = Selection.Tables(1).TopPadding
    Selection.Cells(intCell).BottomPadding = Selection.Tables(1).BottomPadding
    Selection.Cells(intCell).LeftPadding = Selection.Tables(1).LeftPadding
    Selection.Cells(intCell).RightPadding = Selection.Tables(1).RightPadding
    Next intCell
    End If
    End Sub

    It's like Ctrl Q for cell margins!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •