Hello Everyone,
I would greatly appreciate if someone would check my code and tell me why the subroutine "QTRRMS" works bu the code that calls the subroutine does not.
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Range("QTRRevModSel")) Is Nothing Then
Call QTRRMS
End If
End Sub
Sub QTRRMS()
If Range("QTRRevModSel") = "Aggressive Model" Then
Range("Selection") = 1
ElseIf Range("QTRRevModSel") = "Standard Model" Then
Range("Selection") = 2
ElseIf Range("QTRRevModSel") = "Conservative Model" Then
Range("Selection") = 3
ElseIf Range("QTRRevModSel") = "Enter a Roll Your Own Number" Then
Range("Selection") = 4
ElseIf Range("QTRRevModSel") = "Splash a Number" Then
Range("Selection") = 5
Else
Range("Selection") = 6
End If
End Sub
Bookmarks