Hello,
I have an Excel macro (Thank you forum users!) that will lock cells after data has been entered and saved. It works beautifully, but recently, I have created a spreadsheet where there are hundreds of cells that need to be protected after they have been populated. The problem is that the cells are non contiguous and when I try to type in the cell range, the line of code becomes too long and stops working. Is it possible to split this range into two or more lines of code? Or can I apply the same macro to the same Excel tab twice, with the first macro protecting the first 200 cells (for example) and the second macro protecting the last 200 cells? Thanks in advance!
Bookmarks