+ Reply to Thread
Results 1 to 2 of 2

Formatting certain columns of a table

  1. #1
    Registered User
    Join Date
    08-07-2012
    Location
    Manchester
    MS-Off Ver
    Excel 2010
    Posts
    27

    Formatting certain columns of a table

    Hey

    I'm sure this most only take a few simple lines of code but I can't work out how to do it!

    I just want to right align (and align halfway down each cell) all of the columns in the tables in my Word doc excluding the first column in each table.

    Please could someone help!

    Thank you.

  2. #2
    Forum Expert macropod's Avatar
    Join Date
    12-22-2011
    Location
    Canberra, Australia
    MS-Off Ver
    Word, Excel & Powerpoint 2003 & 2010
    Posts
    3,726

    Re: Formatting certain columns of a table

    You can select an entire column and use the align-centre-right button on the Table Tools>Layout tab to set the alignments. This would have to be done one table at a time.

    When using macros, which is what one might do for multiple tables, it is often easier to apply the 'common' format to the whole table, then adjust it for the minority of cells. For example:
    Please Login or Register  to view this content.
    Last edited by macropod; 04-04-2016 at 08:21 PM.
    Cheers,
    Paul Edstein
    [Fmr MS MVP - Word]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel VBA/Macro: Selecting Specific Columns and Rows in Pivot Table and Formatting
    By rarascon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-20-2013, 03:50 PM
  2. Replies: 9
    Last Post: 08-10-2013, 08:28 PM
  3. Replies: 1
    Last Post: 05-19-2013, 06:40 PM
  4. Replies: 3
    Last Post: 10-17-2012, 05:45 AM
  5. Replies: 1
    Last Post: 09-20-2012, 03:38 AM
  6. Replies: 1
    Last Post: 09-20-2012, 03:38 AM
  7. Replies: 23
    Last Post: 04-25-2006, 01:10 PM
  8. Replies: 24
    Last Post: 04-25-2006, 01:10 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1