Workbook.ProtectWindows (Excel)

True if the windows of the workbook are protected.


Dim booProtectWindows As Boolean
booProtectWindows = ActiveWorkbook.ProtectWindows