Word 2007 VBA AutoFormat Types


New Member
Feb 4, 2013
Morning all!

So this is a Word 2007 VBA question, but I haven't found a forum like this for Word, yet. If you have any suggestions as to one, I'm all ears.

I'm creating a table in my document that I want to format to look good. Word, apparently, has certain predefined formats. Word's VBA Help provided the example below.

"Selection.Tables(1).AutoFormat Format:=wdTableFormatColorful2"

Which gives my table some color, bolds and italicizes some of the text, etc. I'm trying to figure out where I can find some sort of list of formats like "Colorful2." The Design tab has a number of different formats, but none called "Colorful2" which leads me to believe that there are other formats hiding somewhere...

Any thoughts on where to find these would be great.

Thanks for the help.


Some videos you may like

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Watch MrExcel Video

Forum statistics

Latest member

This Week's Hot Topics

  • Copy entire row if CountA <>0 to another sheet
    [B]I want to copy entire row if CountA <>0 for column J7:AM7 (headers on J6:AM6) and so on till the last used cell is column D and paste the...
  • Select last used Row in Table
    I have created a Table in a Worksheet which is locked to prevent user errors and protect formula. Some of the cells require freetext entries which...
  • excel workbook: do not allow certain file name
    Hello all, Don't think this has ever been asked before, but how do I restrict file save [Before_Save Event] if the name of the file being saved...
  • fixing problem autofilter
    hello i need help about my code when i search by code in textbox it doesn't show anything this is my data [ATTACH type="full"...
  • “Weight”
    Hi, i’ve got a long sheet filled with weights such as kg,g,L & ml. i can build a formula to convert kg into g and liter into ml. How ever, my...
  • How to capitalize everything before a certain character?
    In column A, I have some text: Hello good day.mp3 Hello good day.flac etc. I'd like to capitalize everything before the period. I don't need the...