Hi Marcheese,
Try placing the following code in the ThisWorkbook section. It will run automatically any time there is a change made on your sheet is the only potential problem. How do you update the values from the other workbook? Are the links initially updated when you open Bud vs Act or do you manually update them? Think this is the bit that gives me a problem making it run automatically but hopefully the following will work ok for you.
I also removed the "END" from column A so it now stops when it gets to the row saying "Group Insurance" in Column B however you can change this if your sheet changes at all
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
ScreenUpdating = False
' Unhide all rows to start
Rows("1:20").Select
Selection.EntireRow.Hidden = False
' Section to hide rows if Columns O and P show 0
Range("O3").Select
Do Until ActiveCell.Offset(-1, -13).Value = "Group Insurance"
If ActiveCell.Value = "0" And ActiveCell.Offset(0, 1).Value = "0" Then
ActiveCell.EntireRow.Hidden = True
ActiveCell.Offset(1, 0).Select
Else: ActiveCell.Offset(1, 0).Select
End If
Loop
End Sub
Mowgli
Bookmarks