If you are trying to find from a date use ElseIf activity like this.
If inputDate.Month <= 3 Then
quarter = "Q1"
ElseIf inputDate.Month <= 6 Then
quarter = "Q2"
ElseIf inputDate.Month <= 9 Then
quarter = "Q3"
Else
quarter = "Q4"
End If