Document.SetDefaultTableStyle (Word)

Especifica o estilo de tabela a usar para tabelas recém-criadas em um documento.

SetDefaultTableStyle (Style, SetInTemplate)


Sub TableDefaultStyle() 
 With ActiveDocument 
 If .DefaultTableStyle = "Table Normal" Then 
 .SetDefaultTableStyle Style:="TableStyle1", _ 
 SetInTemplate:=True 
 End If 
 End With 
End Sub

Arguments

O seguinte argumento é opcional

Style (Style) - Uma sequência de caracteres que especifica o nome do estilo.

SetInTemplate (Boolean) - True para salvar o estilo de tabela no modelo anexado ao documento.