Claymationator
Well-known Member
- Joined
- Sep 26, 2006
- Messages
- 705
I have two separate drop-downs in one sheet, and when either of them is "Total" I need to run a different set of code. I have each working individually, but can't have the same macro name on one sheet. Any help combining the two?
Any help is appreciated.
Code:
Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
Select Case Range("D7").Value
Case "Total"
Call OrderTypeFilter
End Select
Application.EnableEvents = True
End Sub
Private Sub Worksheet_Change(ByVal Target As Range)
Application.EnableEvents = False
Select Case Range("D8").Value
Case "Total"
Call RxTypeFilter
End Select
Application.EnableEvents = True
End Sub
Any help is appreciated.