streWhereMaterial and strWherePlant are formatted the same:
strWherePlant = "[Plant Number] IN (" & Left$(strWherePlant, lngLen) & ")"
strWhereMaterial = "[Material Number] IN (" & Left$(strWhereMaterial, lngLen) & ")"
These show what numbers were selected in those respective list boxes, for...