Looking at your revised code, I can't see how it's working properly for you. You said that the original code I suggested is working well except that it is backwards. I assume that you mean that rather than hiding the number of columns you enter in BR1, you want to make them visible and hide the rest of the columns. The code below should do that for you if that's what you were looking for. Also, you have a zero value in column E and 51 and 52 in columns BD and BE. They will remain visible. Please let me know if everything is working out for you or if the code needs to be tweeked a little more.
Bookmarks