Hello - I have what I think is a general question on protecting a workbook/worksheet. I was hoping to have this resolved with vba code and not protecting via the options within Excel. Here's my task at hand. I have about 50 excel workbook. Each have the same columns but some have more rows of data than others, but the format is the same.
This is a "once a year" project and last year they protected the sheet via the Excel Protection options (allowing only 3 columns to be changed - everything else was protected) and sent them out. The problem was some of the end users wanted to do some more 'playing with the data', sorting, filtering...etc. These different request to send out an unprotected sheet, resulted in a 'verision' nightmere.
So now - - I'm wondering if anyone out there in Excel - Guru land has any suggestions on how to 'lock' down most columns/cells for editing while allowing for sorting and filtering? Thoughts/suggestions? I've got some VBA code that does this nicely but I'm not 100% confident in our end-user base NOT enabling the macro for use, thus making changes that would otherwise not be allowed...does this make sense?
I have a thought as I type this - - how about protecting the entire worksheet and part of the code below it's UNprotected and then the VBA code works as is. In other words, if I'm a user and I 'don't enable macros' the entire sheet is opened protected and they can't do any editing...hhhmmm? This would force them into re-opening the workbook and enabling the macros that, first step unprotects the workbook, then proceeds to only allow the group of columns for editing...again, hope that makes sense, and if anyone as thoughts/ideas to do all this without VBA that would be welcome as well...
Thanks for reading...
Bookmarks