Share via


Column.Shading Property

Word Developer Reference

Returns a Shading object that refers to the shading formatting for the specified column.

Syntax

expression.Shading

expression   Required. A variable that represents a Column object.

Example

This example applies horizontal line texture to the first column in the first table in the active document.

Visual Basic for Applications
  If ActiveDocument.Tables.Count >= 1 Then
    With ActiveDocument.Tables(1).Columns(1).Shading
        .Texture = wdTextureHorizontal
    End With
End If

See Also