mgchurch77
New Member
- Joined
- Aug 15, 2011
- Messages
- 33
I am trying to run some code that will hide a row if a certain max value of a column is reached. I am fine with any solution to this whether it be that the macro determines the max from a column and then runs the hide function or if the max value is determined on the sheet with a Max(B2:B50) function. The latter is the approach that I have recently tried however I don't think that the "Private Sub Worksheet_Change(ByVal Target As Range" approach is picking up the change in the target cell which contains the MAX(B2:B50) funciton as when I force the sheet to hit the max value that is my target value, nothing hides.