Propiedad ListFormat.SingleListTemplate (Word)

True si el objeto ListFormat completo utiliza la misma plantilla de lista. Boolean de solo lectura.

Sintaxis

expresión. SingleListTemplate

expresión obligatoria. Variable que representa un objeto "ListFormat".

Ejemplo:

En este ejemplo, se comprueba si la selección tiene formato de lista sencilla. En cuyo caso, en el ejemplo se aplica la segunda plantilla de lista numerada a la selección.

Set myList = Selection.Range.ListFormat 
temp = myList.SingleListTemplate 
If temp = True Then 
 myList.ApplyListTemplate _ 
 ListTemplate:=ListGalleries(wdNumberGallery) _ 
 .ListTemplates(2) 
End If

Consulte también

Objeto ListFormat

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.