Compartir vía


Propiedad Worksheet.ProtectDrawingObjects (Excel)

Es True si las formas están protegidas. Para activar la protección de formas, use el método Protect con el argumento DrawingObjects establecido en True. Boolean de solo lectura.

Sintaxis

expresión. ProtectDrawingObjects

Expresión Variable que representa un objeto Worksheet .

Ejemplo:

En este ejemplo se muestra un cuadro de mensaje si las formas de Sheet1 están protegidas.

If Worksheets("Sheet1").ProtectDrawingObjects = True Then 
 MsgBox "The shapes on Sheet1 are protected." 
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.