Hi, Am trying to combine two Worksheet_Change commands in the same worksheet but keep getting a Worksheet_Change error message. The codes are below and they are each running off a separate combo boxes located on the same work sheet performing separate functions on two alternative worksheets. I'm aware that they can be combined but so far have not been able to figure out how to do this correctly. Any help would be appreciated. Tx
1#
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$I$24" Then
Sheets("Inputs").Scenarios(Target.Value).Show
End If
End Sub
2#
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$I$29" Then
Sheets("DCF_Analysis").Scenarios(Target.Value).Show
End If
End Sub
1#
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$I$24" Then
Sheets("Inputs").Scenarios(Target.Value).Show
End If
End Sub
2#
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$I$29" Then
Sheets("DCF_Analysis").Scenarios(Target.Value).Show
End If
End Sub