Adjusting table row height in code

Discussion in 'Word Tables' started by Wotme, Jul 13, 2012.

  1. Wotme

    Wotme Guest

    Can anyone help with some code I could use to adjust the row height in
    table


    --
    Wotme
     
    Wotme, Jul 13, 2012
    #1
    1. Advertisements

  2. Wotme

    Stefan Blom Guest

    If you are saying that you want to set a fixed row height, the following
    code should be helpful:

    With ActiveDocument.Tables(1).Rows(1)
    .HeightRule = wdRowHeightExactly
    .Height = InchesToPoints(0.5)
    End With

    The macro sets the height of the first row in the first table of the
    active document to 0.5".

    Stefan Blom
    Microsoft Word MVP





    On 2012-07-13 14:13, Wotme wrote:
    > Can anyone help with some code I could use to adjust the row height in a
    > table.
    >
    >
    >
    >
     
    Stefan Blom, Jul 13, 2012
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. puzzled

    change row height througout the table

    puzzled, Nov 30, 2003, in forum: Word Tables
    Replies:
    1
    Views:
    161
    Suzanne S. Barnhill
    Nov 30, 2003
  2. Wellspan
    Replies:
    1
    Views:
    117
    Suzanne S. Barnhill
    Oct 21, 2004
  3. Stephanie T.

    Row height problem with table in table

    Stephanie T., Nov 23, 2004, in forum: Word Tables
    Replies:
    0
    Views:
    108
    Stephanie T.
    Nov 23, 2004
  4. MCR
    Replies:
    1
    Views:
    106
    Cindy M -WordMVP-
    Dec 14, 2004
  5. Walter Wood

    Gobally Modify Table Row Height

    Walter Wood, Mar 10, 2005, in forum: Word Tables
    Replies:
    4
    Views:
    125
    Walter Wood
    Mar 11, 2005
  6. eob

    Row Height Not Adjusting

    eob, Jul 6, 2006, in forum: Word Tables
    Replies:
    1
    Views:
    95
  7. Trish

    Word 2003 - adjusting row heiht

    Trish, Aug 13, 2007, in forum: Word Tables
    Replies:
    2
    Views:
    94
    Trish
    Aug 13, 2007
  8. talkinglens

    Adjusting width of 1 cell in a row in a table

    talkinglens, Dec 1, 2009, in forum: Word Tables
    Replies:
    2
    Views:
    138
    Suzanne S. Barnhill
    Dec 1, 2009
Loading...