Sorry while I'm fairly good with excel formulas my VBA is rubbish. I am only capable of recording macros and that's it.
I have what I know will be a very simple macro for someone on this forum - but despite my best efforts and hours (litterally) of searching I am unable to get the code right. There's a lot out there, but I can't find anything that matches my scenario and my VBA understanding isn't sufficient enough to edit it to work.
Essentially I want to unhide rows 25 to 52 automatically in one sheet called "Telehealth Model" when a calculated cell value "S23" in the sheet equals 0; and re-hide the same rows if the cell "S23" calculates to equal 1.
The cell S23 contains an "if" formula based on a user selection from a drop-down validation list. I thought using the an "if" in a reference cell (S23) formula would be an easier way to write a macro to unhide rows rather than trying to incorporate a user selection if statements into VBA. Yet, I have still failed.
Please help... I would really appreciate it.
Cheers
Max
I have what I know will be a very simple macro for someone on this forum - but despite my best efforts and hours (litterally) of searching I am unable to get the code right. There's a lot out there, but I can't find anything that matches my scenario and my VBA understanding isn't sufficient enough to edit it to work.
Essentially I want to unhide rows 25 to 52 automatically in one sheet called "Telehealth Model" when a calculated cell value "S23" in the sheet equals 0; and re-hide the same rows if the cell "S23" calculates to equal 1.
The cell S23 contains an "if" formula based on a user selection from a drop-down validation list. I thought using the an "if" in a reference cell (S23) formula would be an easier way to write a macro to unhide rows rather than trying to incorporate a user selection if statements into VBA. Yet, I have still failed.
Please help... I would really appreciate it.
Cheers
Max