Hello Everyone,
I'm pretty new to macros and I have this code that works wonderfully except for it will not let me add a second value to search with. Below is the particular section of the code I’m having issues with -
I want it to have 2 values – tiger and tigertwo
When I put - Value:=tiger And tigertwo it says Run-time Error “13”: type mismatch.
When I put - Value:=tiger
,_SecondValue:=tigertwo it finds everything with both types of variables instead of docs with both variables in it.
*** it is looking thru text files ***
For example Below each number represents a report being searched thru. The words in the report on the respective line
1. fish
2. chips
3. fish horse chips
4. horse
5. fish chips
6. chips fish horse
7. horse chips fish
8. apples chip
9. horse fish
I would like the macro to only return reports 3, 5, 6,7
My entire code is below –
Please help!
Thank you very, very much in advance!!!
Bookmarks