DougStroud
Well-known Member
- Joined
- Aug 16, 2005
- Messages
- 2,976
- Office Version
- 365
- Platform
- MacOS
The following line of code searches for the term "Boot", but I want it to find any instance of "Boot", ie. "Boot", "Bootw", or "Booty".
Placing the standard * after the term does not work...
If (Cells(i, "F") = "Hat" Or Cells(i, "F") = "Shoe" Or Cells(i, "G") = "Boot*") And Cells(i, _
"M").NumberFormat = "0.000" Then
or
If (Cells(i, "F") = "Hat" Or Cells(i, "F") = "Shoe" Or Cells(i, "G") = "Boot" & "*") And Cells(i, _
"M").NumberFormat = "0.000" Then
Does not work....
Placing the standard * after the term does not work...
If (Cells(i, "F") = "Hat" Or Cells(i, "F") = "Shoe" Or Cells(i, "G") = "Boot*") And Cells(i, _
"M").NumberFormat = "0.000" Then
or
If (Cells(i, "F") = "Hat" Or Cells(i, "F") = "Shoe" Or Cells(i, "G") = "Boot" & "*") And Cells(i, _
"M").NumberFormat = "0.000" Then
Does not work....