I have been trying to teach myself this through various forum threads but I have never used macros before so i'm not having any success.
I have a data range on sheet2 from A2:C16 and if any of the values in column C return a value of 0 I want to hide that row. If that value changes then I want to automatically unhide that row.
I want this macro to only have effect on sheet2 but I will more than likely want to use a similar hide macro on the other sheets within the same workbook but for different data ranges and other target columns. I'm hoping that I can use the same code but change the variables and insert it onto the other sheets?
If I could get a step by step process I would be extremely grateful as I am very much a novice.
I have a data range on sheet2 from A2:C16 and if any of the values in column C return a value of 0 I want to hide that row. If that value changes then I want to automatically unhide that row.
I want this macro to only have effect on sheet2 but I will more than likely want to use a similar hide macro on the other sheets within the same workbook but for different data ranges and other target columns. I'm hoping that I can use the same code but change the variables and insert it onto the other sheets?
If I could get a step by step process I would be extremely grateful as I am very much a novice.