Oharra
Orrialde honetara sartzeak baimena behar du. Saioa hasteko edo direktorioak aldatzen saia zaitezke.
Orrialde honetara sartzeak baimena behar du. Direktorioak aldatzen saia zaitezke.
True si la fila especificada tienen el formato de título de una tabla. Long de lectura y escritura.
Sintaxis
expresión. HeadingFormat
expresión Variable que representa un objeto Rows .
Observaciones
Las filas con formato de títulos de la tabla se repiten cuando una tabla ocupa más de una página. Puede ser True, False o wdUndefined.
Ejemplo
En este ejemplo se crea una tabla de 5 x 5 al comienzo del documento activo y luego se agrega el formato del título de la tabla a la primera fila de la tabla.
Dim rngTemp As Range
Dim tableNew As Table
Set rngTemp = ActiveDocument.Range(0, 0)
Set tableNewe = ActiveDocument.Tables.Add(rngTemp, 5, 5)
tableNew.Rows.HeadingFormat = True
En este ejemplo se determina si la fila que contiene el punto de inserción tiene el formato de título de tabla.
If Selection.Information(wdWithInTable) = True Then
If Selection.Rows.HeadingFormat = True Then _
MsgBox "The current row is a table heading"
Else
MsgBox "The insertion point is not in a table."
End If
Vea también
Soporte técnico y comentarios
¿Tiene preguntas o comentarios sobre VBA para Office o esta documentación? Vea Soporte técnico y comentarios sobre VBA para Office para obtener ayuda sobre las formas en las que puede recibir soporte técnico y enviar comentarios.