This is non-working code for the 7 list boxes I have. I figured I would post it and hope someone else tries to poke around at it.
I have tried eliminating part 2 and keeping part 3. I have also tried eliminating all of part 3 and keeping part 2, also tried keeping them both (what's currently below), but it's not working.
You'll see I only labeled Part 1 & 2 on the first two listboxes, the pattern is pretty easy to catch onto.
Private Sub btnRPT74_Click()
On Error GoTo Err_btnRPT74_Click
Dim RepTo As String
Dim ctl As Control
Dim varRow As Variant
Dim strlbCampus As String
Dim strlbDegree As String
Dim strlbMajor As String
Dim strlbEmployerName As String
Dim strlbGradMonth As String
Dim strlbGradYear As String
Dim strlbPlaceStatus As String
Dim strWhere As String
RepTo = "rpt74"
strWhere = ""
strlbCampus = ""
strlbDegree = ""
strlbMajor = ""
strlbEmployerName = ""
strlbGradMonth = ""
strlbGradYear = ""
strlbPlaceStatus = ""
// Part 1
Set ctl = Me!lbCampus
For Each varRow In ctl.ItemsSelected
If strlbCampus = "" Then
strlbCampus = "[Student Campus] in (" & ctl.Column(0, varRow)
Else
strlbCampus = strlbCampus & ", " & ctl.Column(0, varRow)
End If
Next varRow
//Part 2
If strlbCampus <> "" Then
strlbCampus = strlbCampus & "

"
End If
// Part 1
Set ctl = Me!lbDegree
For Each varRow In ctl.ItemsSelected
If strlbDegree = "" Then
strlbDegree = "[Student Current Degree] in (" & ctl.Column(0, varRow)
Else
strlbDegree = strlbDegree & ", " & ctl.Column(0, varRow)
End If
Next varRow
//Part 2
If strlbDegree <> "" Then
strlbDegree = strlbDegree & "

"
End If
Set ctl = Me!lbMajor
For Each varRow In ctl.ItemsSelected
If strlbMajor = "" Then
strlbMajor = "[Student Current Major] in (" & ctl.Column(0, varRow)
Else
strlbMajor = strlbMajor & ", " & ctl.Column(0, varRow)
End If
Next varRow
If strlbMajor <> "" Then
strlbMajor = strlbMajor & "

"
End If
Set ctl = Me!lbEmployerName
For Each varRow In ctl.ItemsSelected
If strlbEmployerName = "" Then
strlbEmployerName = "[Employer Employer Name] in (" & ctl.Column(0, varRow)
Else
strlbEmployerName = strlbEmployerName & ", " & ctl.Column(0, varRow)
End If
Next varRow
If strlbEmployerName <> "" Then
strlbEmployerName = strlbEmployerName & "

"
End If
Set ctl = Me!lbGradMonth
For Each varRow In ctl.ItemsSelected
If strlbGradMonth = "" Then
strlbGradMonth = "[Student Graduation Month] in (" & ctl.Column(0, varRow)
Else
strlbGradMonth = strlbGradMonth & ", " & ctl.Column(0, varRow)
End If
Next varRow
If strlbGradMonth <> "" Then
strlbGradMonth = strlbGradMonth & "

"
End If
Set ctl = Me!lbGradYear
For Each varRow In ctl.ItemsSelected
If strlbGradYear = "" Then
strlbGradYear = "[Student Graduation Year] in (" & ctl.Column(0, varRow)
Else
strlbGradYear = strlbGradYear & ", " & ctl.Column(0, varRow)
End If
Next varRow
If strlbGradYear <> "" Then
strlbGradYear = strlbGradYear & "

"
End If
Set ctl = Me!lbPlaceStatus
For Each varRow In ctl.ItemsSelected
If strlbPlaceStatus = "" Then
strlbPlaceStatus = "[Placement Placement Status] in (" & ctl.Column(0, varRow)
Else
strlbPlaceStatus = strlbPlaceStatus & ", " & ctl.Column(0, varRow)
End If
Next varRow
If strlbPlaceStatus <> "" Then
strlbPlaceStatus = strlbPlaceStatus & "

"
End If
//Part 3
If strlbCampus <> "" Then
If strWhere = "" Then
strWhere = strlbCampus
Else
strWhere = strWhere & " And " & strlbCampus
End If
End If
If strlbDegree <> "" Then
If strWhere = "" Then
strWhere = strlbDegree
Else
strWhere = strWhere & " And " & strlbDegree
End If
End If
If strlbMajor <> "" Then
If strWhere = "" Then
strWhere = strlbMajor
Else
strWhere = strWhere & " And " & strlbMajor
End If
End If
If strlbEmployerName <> "" Then
If strWhere = "" Then
strWhere = strlbEmployerName
Else
strWhere = strWhere & " And " & strlbEmployerName
End If
End If
If strlbGradMonth <> "" Then
If strWhere = "" Then
strWhere = strlbGradMonth
Else
strWhere = strWhere & " And " & strlbGradMonth
End If
End If
If strlbGradYear <> "" Then
If strWhere = "" Then
strWhere = strlbGradYear
Else
strWhere = strWhere & " And " & strlbGradYear
End If
End If
If strlbPlaceStatus <> "" Then
If strWhere = "" Then
strWhere = strlbPlaceStatus
Else
strWhere = strWhere & " And " & strlbPlaceStatus
End If
End If
DoCmd.OpenReport RepTo, acViewPreview, , strWhere
Exit_btnRPT74_Click:
Exit Sub
Err_btnRPT74_Click:
MsgBox Err.Description
Resume Exit_btnRPT74_Click
End Sub