Propiedad Application.FindFormat (Excel)

Establece o devuelve los criterios de búsqueda del tipo de formatos de celda que se va a buscar.

Sintaxis

expresión. FindFormat

expresión Variable que representa un objeto Application.

Ejemplo:

En este ejemplo, los criterios de búsqueda se establecen para buscar celdas de fuente Arial, Regular, Size 10 y se notifica al usuario.

Sub UseFindFormat() 
 
 ' Establish search criteria. 
 With Application.FindFormat.Font 
 .Name = "Arial" 
 .FontStyle = "Regular" 
 .Size = 10 
 End With 
 
 ' Notify user. 
 With Application.FindFormat.Font 
 MsgBox .Name & "-" & .FontStyle & "-" & .Size & _ 
 " font is what the search criteria is set to." 
 End With 
 
End Sub

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.