Propiedad Workbook.ProtectWindows (Excel)

True si las ventanas del libro están protegidas. Boolean de solo lectura.

Sintaxis

expresión. ProtegerWindows

Expresión Variable que representa un objeto Workbook .

Ejemplo:

Este ejemplo muestra un mensaje si están protegidas las ventanas del libro activo.

If ActiveWorkbook.ProtectWindows = True Then 
 MsgBox "Remember, you cannot rearrange any" & _ 
 " window in this workbook." 
End If 

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.