Tables

wdAutoFitBehaviorSpecifies how a table is resized after the autofit feature is used.
wdCellVerticalAlignmentSpecifies the vertical alignment of text in one or more cells of a table.
wdConditionCodeSpecifies the area of a table to which to apply special style formatting.
wdDefaultTableBehaviorSpecifies whether the cells in a table are automatically resized to fit the columns
wdRowAlignmentSpecifies alignment for the content in selected rows.
wdRowHeightRuleSpecifies the rule for determining the height of the specified cells or rows.
wdTableDirectionSpecifies the direction in which the cells are ordered within a table or row.
wdTableFieldSeparatorSpecifies the character to use to separate text into cells when converting text to a table.
wdTableFormatSpecifies the predefined format to apply to a table.
wdTableFormatApplySpecifies how table formatting should be applied.
wdTablePositionSpecifies the relative position of a table in the document.
wdAutoFitBehavior
Specifies how a table is resized after the autofit feature is used.
wdCellVerticalAlignment
Specifies the vertical alignment of text in one or more cells of a table.
wdConditionCode
Specifies the area of a table to which to apply special style formatting.
wdDefaultTableBehavior
Specifies whether the cells in a table are automatically resized to fit the columns
wdRowAlignment
Specifies alignment for the content in selected rows.
wdRowHeightRule
Specifies the rule for determining the height of the specified cells or rows.
wdTableDirection
Specifies the direction in which the cells are ordered within a table or row.
wdTableFieldSeparator
Specifies the character to use to separate text into cells when converting text to a table.
wdTableFormat
Specifies the predefined format to apply to a table.
wdTableFormatApply
Specifies how table formatting should be applied.
wdTablePosition
Specifies the relative position of a table in the document.

wdAutoFitBehavior

Specifies how a table is resized after the autofit feature is used.

wdAutoFitContentThe table is automatically sized to fit the content that is contained within the table (1)
wdAutoFitFixedThe table is set to a fixed size, regardless of the content (0)
wdAutoFitWindowThe table is automatically sized to the width of the active window (2)

wdAutoFitContent
The table is automatically sized to fit the content that is contained within the table (1)
wdAutoFitFixed
The table is set to a fixed size, regardless of the content (0)
wdAutoFitWindow
The table is automatically sized to the width of the active window (2)

wdCellVerticalAlignment

Specifies the vertical alignment of text in one or more cells of a table.

wdCellAlignVerticalBottom3
wdCellAlignVerticalCenter1
wdCellAlignVerticalTop0

wdCellAlignVerticalBottom
3
wdCellAlignVerticalCenter
1
wdCellAlignVerticalTop
0

wdConditionCode

Specifies the area of a table to which to apply special style formatting.

wdEvenColumnBanding7
wdEvenRowBanding3
wdFirstColumn4
wdFirstRow0
wdLastColumn5
wdLastRow1
wdNECell8
wdNWCell9
wdOddColumnBanding6
wdOddRowBanding2
wdSECell10
wdSwCell11

wdEvenColumnBanding
7
wdEvenRowBanding
3
wdFirstColumn
4
wdFirstRow
0
wdLastColumn
5
wdLastRow
1
wdNECell
8
wdNWCell
9
wdOddColumnBanding
6
wdOddRowBanding
2
wdSECell
10
wdSwCell
11

wdDefaultTableBehavior

Specifies whether the cells in a table are automatically resized to fit the columns

wdWord8ListBehaviorAutoFit disabled This is default (0)
wdWord9ListBehaviorAutoFit enabled (1)

wdWord8ListBehavior
AutoFit disabled This is default (0)
wdWord9ListBehavior
AutoFit enabled (1)

wdRowAlignment

Specifies alignment for the content in selected rows.

wdAlignRowCenter1
wdAlignRowLeft0
wdAlignRowRight2

wdAlignRowCenter
1
wdAlignRowLeft
0
wdAlignRowRight
2

wdRowHeightRule

Specifies the rule for determining the height of the specified cells or rows.

wdRowHeightAtLeast1
wdRowHeightAuto0
wdRowHeightExactly2

wdRowHeightAtLeast
1
wdRowHeightAuto
0
wdRowHeightExactly
2

wdTableDirection

Specifies the direction in which the cells are ordered within a table or row.

wdTableDirectionLtrThe selected cells are arranged with the first column in the right most position (1)
wdTableDirectionRtlThe selected cells are arranged with the first column in the right most position (0)

wdTableDirectionLtr
The selected cells are arranged with the first column in the right most position (1)
wdTableDirectionRtl
The selected cells are arranged with the first column in the right most position (0)

wdTableFieldSeparator

Specifies the character to use to separate text into cells when converting text to a table.

wdSeparateByCommasA comma (2)
wdSeparateByDefaultListSeparatorThe default list separator (3)
wdSeparateByParagraphsParagraph markers (0)
wdSeparateByTabsA tab (1)

wdSeparateByCommas
A comma (2)
wdSeparateByDefaultListSeparator
The default list separator (3)
wdSeparateByParagraphs
Paragraph markers (0)
wdSeparateByTabs
A tab (1)

REMARKS
* This also specifies the character to use to delimit converted columns when converting a table to text (paragraph marks delimit converted rows)

wdTableFormat

Specifies the predefined format to apply to a table.

wdTableFormat3DEffects132
wdTableFormat3DEffects233
wdTableFormat3DEffects334
wdTableFormatClassic14
wdTableFormatClassic25
wdTableFormatClassic36
wdTableFormatClassic47
wdTableFormatColorful18
wdTableFormatColorful29
wdTableFormatColorful310
wdTableFormatColumns111
wdTableFormatColumns212
wdTableFormatColumns313
wdTableFormatColumns414
wdTableFormatColumns515
wdTableFormatContemporary35
wdTableFormatElegant36
wdTableFormatGrid116
wdTableFormatGrid217
wdTableFormatGrid318
wdTableFormatGrid419
wdTableFormatGrid520
wdTableFormatGrid621
wdTableFormatGrid722
wdTableFormatGrid823
wdTableFormatList124
wdTableFormatList225
wdTableFormatList326
wdTableFormatList427
wdTableFormatList528
wdTableFormatList629
wdTableFormatList730
wdTableFormatList831
wdTableFormatNone0
wdTableFormatProfessional37
wdTableFormatSimple11
wdTableFormatSimple22
wdTableFormatSimple33
wdTableFormatSubtle138
wdTableFormatSubtle239
wdTableFormatWeb140
wdTableFormatWeb241
wdTableFormatWeb342

wdTableFormat3DEffects1
32
wdTableFormat3DEffects2
33
wdTableFormat3DEffects3
34
wdTableFormatClassic1
4
wdTableFormatClassic2
5
wdTableFormatClassic3
6
wdTableFormatClassic4
7
wdTableFormatColorful1
8
wdTableFormatColorful2
9
wdTableFormatColorful3
10
wdTableFormatColumns1
11
wdTableFormatColumns2
12
wdTableFormatColumns3
13
wdTableFormatColumns4
14
wdTableFormatColumns5
15
wdTableFormatContemporary
35
wdTableFormatElegant
36
wdTableFormatGrid1
16
wdTableFormatGrid2
17
wdTableFormatGrid3
18
wdTableFormatGrid4
19
wdTableFormatGrid5
20
wdTableFormatGrid6
21
wdTableFormatGrid7
22
wdTableFormatGrid8
23
wdTableFormatList1
24
wdTableFormatList2
25
wdTableFormatList3
26
wdTableFormatList4
27
wdTableFormatList5
28
wdTableFormatList6
29
wdTableFormatList7
30
wdTableFormatList8
31
wdTableFormatNone
0
wdTableFormatProfessional
37
wdTableFormatSimple1
1
wdTableFormatSimple2
2
wdTableFormatSimple3
3
wdTableFormatSubtle1
38
wdTableFormatSubtle2
39
wdTableFormatWeb1
40
wdTableFormatWeb2
41
wdTableFormatWeb3
42

wdTableFormatApply

Specifies how table formatting should be applied.

wdTableFormatApplyAutoFitAutofit (16)
wdTableFormatApplyBordersBorders (1)
wdTableFormatApplyColorColors (8)
wdTableFormatApplyFirstColumnApply Autoformat to first column (128)
wdTableFormatApplyFontFont (4)
wdTableFormatApplyHeadingRowsApply Autoformat to heading rows (32)
wdTableFormatApplyLastColumnApply Autoformat to last column (256)
wdTableFormatApplyLastRowApply Autoformat to last row (64)
wdTableFormatApplyShadingShading (2)

wdTableFormatApplyAutoFit
Autofit (16)
wdTableFormatApplyBorders
Borders (1)
wdTableFormatApplyColor
Colors (8)
wdTableFormatApplyFirstColumn
Apply Autoformat to first column (128)
wdTableFormatApplyFont
Font (4)
wdTableFormatApplyHeadingRows
Apply Autoformat to heading rows (32)
wdTableFormatApplyLastColumn
Apply Autoformat to last column (256)
wdTableFormatApplyLastRow
Apply Autoformat to last row (64)
wdTableFormatApplyShading
Shading (2)

wdTablePosition

Specifies the relative position of a table in the document.

wdTableBottomAt the bottom of the document (-999997)
wdTableCenterCentered (-999995)
wdTableInsidePlaced inside a range (-999994)
wdTableLeftAligned on the left of the document (-999998)
wdTableOutsidePlaced outside a range (-999993)
wdTableRightAligned on the right on the document (-999996)
wdTableTopAt the top of the document (-999999)

wdTableBottom
At the bottom of the document (-999997)
wdTableCenter
Centered (-999995)
wdTableInside
Placed inside a range (-999994)
wdTableLeft
Aligned on the left of the document (-999998)
wdTableOutside
Placed outside a range (-999993)
wdTableRight
Aligned on the right on the document (-999996)
wdTableTop
At the top of the document (-999999)


© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited Top