InOverMyH3ad
New Member
- Joined
- Sep 17, 2018
- Messages
- 13
- Office Version
- 365
- Platform
- Windows
Hello All,
I have been searching for threads and while I can find some code for situations similar to mine, I can't seem to re-work the code to fit my specific situation. I just don't have a deep enough understanding of VB to understand how to modify the code. I have fleshed out what I am trying to do below. Any help would be greatly appreciated!
I have been searching for threads and while I can find some code for situations similar to mine, I can't seem to re-work the code to fit my specific situation. I just don't have a deep enough understanding of VB to understand how to modify the code. I have fleshed out what I am trying to do below. Any help would be greatly appreciated!
Code:
SourceSheet - There are 3 cells on this sheet with input. If they are 0 (their default) then
I would like certain rows hidden on ModSheet associated with that category.
ModSheet - A digestable report that grabs numbers from SourceSheet.
It's pretty big so we want to hide sections without data.
By default, hide rows 50-75 when workbook is opened on ModSheet. As the cells on SourceSheet change, hide/unhide specific rows according to info below:
If SourceSheet!H412 <> 0 (this value is a =sum(x+y+z) of several other cells)
Show rows 50-57 on ModSheet
End If
If SourceSheet!H451 <> 0 (this value is a =sum(x+y+z) of several other cells)
Show rows 59-66 on ModSheet
End If
If SourceSheet!H451 <> 0 (this value is a =sum(x+y+z) of several other cells)
Show rows 68-75 on ModSheet
End If