Compartir a través de


Columns.Shading Property

Word Developer Reference

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

Syntax

expression.Shading

expression   Required. A variable that represents a Columns collection.

Example

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

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

See Also