A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
You did it!!! I turned my caps lock ON and False unlocked it. Whatever! Thank you so much!
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to protect the locked cells in any given spreadsheet so that the user cannot override formula cells. I have also grouped columns that contain historical information. When I protect the sheet, I cannot expand or collapse the grouped columns. I have tried checking boxes when in the protection dialogue box such as "Format columns", with no success. I use Excel 2007, but it is saved as a 2003 file because some users are still with that version.
Is it possible to expand or collapse grouped columns when a sheet is protected?
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
You did it!!! I turned my caps lock ON and False unlocked it. Whatever! Thank you so much!
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
I think I am going to have to figure out what the pw is before I can try anything else. I have tried False and True, but neither is working.
I ran you first piece of code and it locked the sheet.
I was able to manually unlock it by typing in the password TRUE (all uppercase)
I assume that is what you are asking me - what password you should use to manually unlock the sheet.
--
Regards,
Tom Ogilvy
I pasted the first code back in and got it unlocked. I really appreciate your help. I am BRAND new to VBA. I would like to keep my sheet protected, but be able to expand and contract groups, but I can't keep messing up and having the sheet lock! I have no idea what made it lock with a password after I had protected and unprotected several times previously. Does the 2nd code I pasted look like it's correct to make sure a password is not required? Now that it's unlocked I'm scared to do anything!
Thank you, again!