Hello,
I'm basically trying to put the the menu that you get when filtering a column on a separate sheet (list + checkboxes). Im providing an extract of data to multiple teams and each have their own name and associated data.
I have 2 sheets in the excel file. They are called
I originally came up with the following and planned on making buttons for each team but there are 71 teams, I would have to make 71 buttons. (this would be only 2 buttons)
In addition I would have to keep hard coding the team names. think there is a use a predefined list so it could check for the next subsequent value but im not sure how..
Can someone help with this?
Also how could you create a list/buttons for these values (team names)?
I'm basically trying to put the the menu that you get when filtering a column on a separate sheet (list + checkboxes). Im providing an extract of data to multiple teams and each have their own name and associated data.
I have 2 sheets in the excel file. They are called
- 3rd Party and Phones
- Coverage Teams and TNs
I originally came up with the following and planned on making buttons for each team but there are 71 teams, I would have to make 71 buttons. (this would be only 2 buttons)
Code:
Sub Filter()
'
' Filter sheet 3rd Party & Phones
'
'
Rows("1:1").Select
Range("AZ1").Activate
Selection.AutoFilter
Sheets("3rd Party and Phones").Range("$A$1:$BK$19814").AutoFilter Field:=55, Criteria1:= _
"Baltimore CMG"
' Filter sheet Coverage Teams and TNs
'
'
Sheets("Coverage Teams and TNs").Range("$A$1:$C$3890").AutoFilter Field:=3, Criteria1:= _
"Baltimore CMG"
End Sub
Sub FEPB_DA()
Rows("1:1").Select
Range("AZ1").Activate
Selection.AutoFilter
Sheets("3rd Party and Phones").Range("$A$1:$BK$19814").AutoFilter Field:=55, Criteria1:= _
"FEPB DA"
' Filter sheet Coverage Teams and TNs
'
'
Sheets("Coverage Teams and TNs").Range("$A$1:$C$3890").AutoFilter Field:=3, Criteria1:= _
"FEPB DA"
End Sub
Can someone help with this?
Also how could you create a list/buttons for these values (team names)?