Propiedad Workbook.ProtectStructure (Excel)

True si el orden de las hojas del libro está protegido. Boolean de solo lectura.

Sintaxis

expresión. ProtectStructure

Expresión Variable que representa un objeto Workbook .

Ejemplo:

Este ejemplo muestra un mensaje si está protegido el orden de las hojas del libro activo.

If ActiveWorkbook.ProtectStructure = True Then 
 MsgBox "Remember, you cannot delete, add, or change " & _ 
 Chr(13) & _ 
 "the location of any sheets 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.