Private Sub ComboBoxMonth_Change()
If ComboBoxMonth.Value = "January" Then
Me.TextBoxToggleDaysApproved.Value = Application.WorksheetFunction.XLookup(CDbl(Me.TextBoxAssocID.Value), Sheets("Toggle_Data").Range("A:A"), _
Sheets("Toggle_Data").Range("AH:AH"))
ElseIf ComboBoxMonth.Value = "February" Then
Me.TextBoxToggleDaysApproved.Value = Application.WorksheetFunction.XLookup(CDbl(Me.TextBoxAssocID.Value), Sheets("Toggle_Data").Range("A:A"), _
Sheets("Toggle_Data").Range("AI:AI"))
ElseIf ComboBoxMonth.Value = "March" Then
Me.TextBoxToggleDaysApproved.Value = Application.WorksheetFunction.XLookup(CDbl(Me.TextBoxAssocID.Value), Sheets("Toggle_Data").Range("A:A"), _
Sheets("Toggle_Data").Range("AJ:AJ"))
ElseIf ComboBoxMonth.Value = "April" Then
Me.TextBoxToggleDaysApproved.Value = Application.WorksheetFunction.XLookup(CDbl(Me.TextBoxAssocID.Value), Sheets("Toggle_Data").Range("A:A"), _
Sheets("Toggle_Data").Range("AK:AK"))
ElseIf ComboBoxMonth.Value = "May" Then
Me.TextBoxToggleDaysApproved.Value = Application.WorksheetFunction.XLookup(CDbl(Me.TextBoxAssocID.Value), Sheets("Toggle_Data").Range("A:A"), _
Sheets("Toggle_Data").Range("AL:AL"))
ElseIf ComboBoxMonth.Value = "June" Then
Me.TextBoxToggleDaysApproved.Value = Application.WorksheetFunction.XLookup(CDbl(Me.TextBoxAssocID.Value), Sheets("Toggle_Data").Range("A:A"), _
Sheets("Toggle_Data").Range("AM:AM"))
ElseIf ComboBoxMonth.Value = "July" Then
Me.TextBoxToggleDaysApproved.Value = Application.WorksheetFunction.XLookup(CDbl(Me.TextBoxAssocID.Value), Sheets("Toggle_Data").Range("A:A"), _
Sheets("Toggle_Data").Range("AN:AN"))
ElseIf ComboBoxMonth.Value = "August" Then
Me.TextBoxToggleDaysApproved.Value = Application.WorksheetFunction.XLookup(CDbl(Me.TextBoxAssocID.Value), Sheets("Toggle_Data").Range("A:A"), _
Sheets("Toggle_Data").Range("AO:AO"))
ElseIf ComboBoxMonth.Value = "September" Then
Me.TextBoxToggleDaysApproved.Value = Application.WorksheetFunction.XLookup(CDbl(Me.TextBoxAssocID.Value), Sheets("Toggle_Data").Range("A:A"), _
Sheets("Toggle_Data").Range("AP:AP"))
ElseIf ComboBoxMonth.Value = "October" Then
Me.TextBoxToggleDaysApproved.Value = Application.WorksheetFunction.XLookup(CDbl(Me.TextBoxAssocID.Value), Sheets("Toggle_Data").Range("A:A"), _
Sheets("Toggle_Data").Range("AQ:AQ"))
ElseIf ComboBoxMonth.Value = "November" Then
Me.TextBoxToggleDaysApproved.Value = Application.WorksheetFunction.XLookup(CDbl(Me.TextBoxAssocID.Value), Sheets("Toggle_Data").Range("A:A"), _
Sheets("Toggle_Data").Range("AR:AR"))
ElseIf ComboBoxMonth.Value = "December" Then
Me.TextBoxToggleDaysApproved.Value = Application.WorksheetFunction.XLookup(CDbl(Me.TextBoxAssocID.Value), Sheets("Toggle_Data").Range("A:A"), _
Sheets("Toggle_Data").Range("AS:AS"))
ElseIf ComboBoxMonth.Value = "Select Month" Then
TextBoxToggleDaysApproved.Value = "0"
Exit Sub
End If
End Sub