Hi All-
I have spent hours trying to find the right code to do what I need and can't seem to find exactly what I need.
I have an excel workbook with several different sheets. I need a code for the sheet named "Budgeted Expense Statement" that works when a cell value in Column O is zero, the row is hidden. The range is A2:Q970)
I have found many codes that do that part and work just fine. However, the values in column O are based off formulas that are tied to others sheets/cells (the values are not manually entered into these cells), and so when I update values elsewhere in the workbook/sheets, it updates the values in column O and the value is no longer zero, but the rows remain hidden.
I need a code that will hide the rows if the cell value in Column O for that row is zero, but then update and unhide when the values in those cells are updated and are no longer zero. This is a workbook that I will update monthly, so I can't just run it once and be done, it needs to be done automatically every time that cell either equals zero or doesn't equal zero any longer.
I found one code (it has been days ago and I don't have it anymore) that worked, but the macro constantly ran and I couldn't type anything anywhere in the workbook because it was constantly checking if the values were zero.
I could also just filter the spreadsheet every month after I am done, but other people will be accessing this workbook and I need it to be an automatic thing because I am not sure they would understand how to even filter things to see the information they need to see.
I'd be ok with a code that I could add to a button that would update by clicking a button if that is what it needs to be.
I've tried to upload an example of just the sheet I am needing to update, but understand that the actual workbook I am using has 4-5 sheets in the workbook that the information all feeds back to a sheet much like the example sheet (but much, much larger).
Thanks in advance for your help!
Bookmarks