Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Exit Sub is workbook is not protected
In VBA, how do I write a line the exits sub if the active workbook is not
protected? Thanks |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Exit Sub is workbook is not protected
Hi Alex,
If Not ActiveWorkbook.ProtectStructure Then Exit Sub Regards, GS |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Need VB formula to exit workbook | Excel Worksheet Functions | |||
how to set auto protect workbook on exit? | Excel Worksheet Functions | |||
Group, Outline, Protected Worksheets and Protected Workbook | Excel Programming | |||
Exit Workbook | Excel Programming | |||
Running a macro to protect a workbook on a already protected workbook UNprotects the workbook ?? | Excel Programming |