G
Guest
My code to hide a row works when I am on that sheet
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Sheets("Contents").Range("VATYN") = "Y" Then
ActiveSheet.Rows("8:8").Hidden = False
Else
ActiveSheet.Rows("8:8").Hidden = True
End If
End Sub
this code sits on several sheets (not all)
How do I force a re-calc on the sheets without physically opening them one
at at time?
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Sheets("Contents").Range("VATYN") = "Y" Then
ActiveSheet.Rows("8:8").Hidden = False
Else
ActiveSheet.Rows("8:8").Hidden = True
End If
End Sub
this code sits on several sheets (not all)
How do I force a re-calc on the sheets without physically opening them one
at at time?