Based on the above post and your file...
First I inserted two sheets - one called START and one called END - the START sheet was placed before the first of all the sheets to be hidden/made visible (ie after Dec09) ... END was placed after the last sheet to be hidden.
Second I inserted the appropriate sheet prefix in the cell above marital status, eg H5 is Sufian, D19 is Khameed etc...
Lastly, I inserted the below by right clicking on Team Data tab - selecting View Code and pasting below into resulting window. You must ensure Macros are enabled thereafter.
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
On Error GoTo ExitPoint
If Intersect(Target, Range("A5,E5,A12,E12,A19,E19,A26")) Is Nothing Then Exit Sub
Application.ScreenUpdating = False
For lngI = Sheets("Start").Index To Sheets("End").Index Step 1
With Sheets(lngI)
.Visible = IIf(InStr(.Name, Target.Offset(, 3).Value) > 0, True, xlVeryHidden)
End With
Next lngI
ExitPoint:
Cancel = True
Application.ScreenUpdating = True
End Sub
When you double click on a name in either Column A or D the appropriate sheets should display... the remainder are "very hidden" meaning they are not visible via the Sheets Unhide/Hide menu (can only be made visible by VBA) - if you don't need this you can revised xlVeryHidden to xlHidden.
Bookmarks