Hello - -
I have some VBA code that restricts data input based on the Column Number. The only column that is allowed data entry is column 7, 12 and 16. This works fine. I have another bit of code that takes this same worksheet and creates many worksheets based on values in column AT. (which came from an Excel Forum user today! Works reallly really well). That too works fine. However, what does not happen in that second vba code is the transfer of the first bit of code that blocks the data input to the newly created worksheets.
So, is there a way I can have the first code be applied to an entire workbook...so that these new worksheets have there columns blocked as well. Basically what I do end up with are 90 worksheets.
Here is the first code that blocks columns from editing:
Here is the second part I run to split the one worksheet to many:
Could I run the second one first, then apply the first vba code to the entire book? Any thoughts/suggestions would be great!
Also, food for thought another final step is for me to split out each of the 90 worksheets into their own workbook in one folder, I have code that does that, again works really well. I want to make sure that when these 90 workBOOKS are in place that the first vba code above is transfered/copied in each workbook. Again...thanks for all that take a look at this.
Bookmarks