Modify the code below to use your own fieldname and control name.
Dim varitem, strwhere
strwhere = " Where customerfieldname IN ("
For Each varItem In me.listboxname.ItemsSelected
If Not IsNull(varItem) Then
'Build up the filter from the bound column (hidden).
strWhere = strWhere & "'" & me.listboxname.ItemData(varItem) & "',"
End If
Next
strwhere = left(strwhere,len(strwhere)-1) & ")" ' remove final comma and add closing )
Your export query sql should now be set as :
strsql = " select * from qry_NetBookings1] " & strwhere