How to Determine If a Workbook or a Worksheet Is Protected (161245)
The information in this article applies to:
- Microsoft Excel 97 for Windows
- Microsoft Excel for Windows 95
- Microsoft Excel for Windows 5.0
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q161245 SUMMARY
This article provides Visual Basic for Applications sample macros that
determine whether a workbook or a worksheet is protected.
REFERENCES
For additional information about getting help with Visual Basic for
Applications, please see the following article in the Microsoft Knowledge
Base:
163435 VBA: Programming Resources for Visual Basic for Applications
Microsoft Excel 97
For more information about protection in Microsoft Excel, click the Index
tab in Microsoft Excel Help, type the following text
protecting, worksheets and workbooks
and then double-click the selected text to go to the "Control access to
workbooks and worksheets" topic.
Microsoft Excel 5.0
For more information about protection in Microsoft Excel, click the Search
button in Help and type:
| Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
|---|
| Keywords: | kbdtacode kbProgramming KB161245 |
|---|
|