Hi TaneKuma01
With the following code,
1- You will not need the list of sheet names on sheet "General"
2- Does not require to add a button to run the macro
3- The macro will execute upon the activation (selection) of the sheet tab
IMPORTANT
The code below DOES NOT belong to a regular VBA module, it goes on the WorkSheet Event VBA panel
Please, paste the code on each of the relevant sheets for the filtering criteria as shown in the picture below
Here is the code
**************************************************************************
Private Sub Worksheet_Activate()
Dim myName As String
myName = Trim(Me.Name) ''Activesheet Name
''' Turn off the flickering
Application.ScreenUpdating = False
Me.Cells.Clear
With Sheets("General")
With .Range("D1").CurrentRegion
.AutoFilter
.AutoFilter Field:=2, Criteria1:=myName
.Copy Me.Range("A1")
End With
.ShowAllData '' Unfilter my Data
End With
Range("A1").Select
Application.ScreenUpdating = True
End Sub
*************************************************************************************
Do let me know if you need more help
Otherwise