WebFeb 10, 2024 · The following macro will protect Sheet1 while allowing outlining: Sub ProtectWithOutlining() With Worksheets("Sheet1") .EnableOutlining = True .Protect … WebFeb 10, 2024 · Double-click ThisWorkbook, under Microsoft Excel Objects in the project explorer on the left hand side. Copy the following code into the module that appears: …
EnableOutlining Property [Excel 2003 VBA Language Reference]
WebJul 29, 2015 · Enable Outlining in multiple proected worksheets I am hoping someone can assist me with this one. I'm using the following VBA code to allow users to open/close groups on protected worksheets, but do not know the syntax to have this affect all worksheet tabs. Using the code below, it works on the Highland tab. WebJan 30, 2008 · Hi, this is a continuation of thread68-1250213: Use Group and Outline in Excel with Protection On: Use Group and Outline in Excel with Protection On, where the VBA code was explained to allow the grouping/ungrouping of outlined columns/cells within a protected worksheet. I have followed (uncorrectly, I guess) the directions given and I … dr frank powell newnan ga
Protect a worksheet - Microsoft Support
WebJul 11, 2024 · Variant. A string that specifies a case-sensitive password for the worksheet or workbook. If this argument is omitted, you can unprotect the worksheet or workbook without using a password. Otherwise, you must specify the password to unprotect the worksheet or workbook. If you forget the password, you cannot unprotect the … WebMay 27, 2024 · Change ActiveSheet Protection Settings Here is the code you will need to run to enable the outline buttons to work on your currently selected spreadsheet tab. Sub EnableOutliningWithProtection () 'PURPOSE: Allow Outline functionality while Sheet is Protected 'SOURCE: www.TheSpreadsheetGuru.com/the-code-vault 'Password Protect … WebNov 18, 2004 · out that if I protect a worksheet, the outline bar to the side of the sheet will also become protected. I never even considered the possibility of this when I decided to use outline since it does not change any data in the sheet. I use it to enable the user to only expand the part of the sheet he/she is working on. Now I either have to "get ... dr frank osborne merrimack family medical