What about doing something where you check if a box is all.
I'm not sure if filtering on a blank value will give you what you want, but you could check if str or str2 is blank later on and adjust accordingly.
Hope this helps.
1: 2: 3: 4: 5: 6: 7: 8: 9: 10:
If Range("G8").Value="(All)" then str = "" else str = Range("G8").Value end if If Range("G9").Value="(All)" then str2 = "" else str2 = Range("G9").Value end if