Hi,
It's been a while I have posted a question here, but when I had this issue, first thing came to my mind was 'MrExcel.com'
Anyways, I use outlook to search multiple items (invoices) and i make use of keywords.
let's say I am looking for 3 items, 111236-2, 111235, 111321. Usually the list consists of 50+ invoices, some with dash1, dash2, etc, so the technique I use is, make a list of invoices in Excel spread sheet, and add double quote into the cell before the invoice, and again double quote in the cell after invoice, followed by : OR " i.e.:
Next step, I copy and paste it in word file as values. this gives me the option to use replace function, so I use Replace: ^p with blank (replacing linebreak) and again Replace : ^t with blank (replacing tab space), and my list is ready to be pasted in outlook search:
"111236-2" OR "111235" OR "111321" OR "
I just manually remove the extra last OR ", giving me final :
"111236-2" OR "111235" OR "111321"
Can this be done using VBA?
Thanks in advance.
It's been a while I have posted a question here, but when I had this issue, first thing came to my mind was 'MrExcel.com'
Anyways, I use outlook to search multiple items (invoices) and i make use of keywords.
let's say I am looking for 3 items, 111236-2, 111235, 111321. Usually the list consists of 50+ invoices, some with dash1, dash2, etc, so the technique I use is, make a list of invoices in Excel spread sheet, and add double quote into the cell before the invoice, and again double quote in the cell after invoice, followed by : OR " i.e.:
" | 111236-2 | " OR " |
111235 | " OR " | |
111321 | " OR " |
Next step, I copy and paste it in word file as values. this gives me the option to use replace function, so I use Replace: ^p with blank (replacing linebreak) and again Replace : ^t with blank (replacing tab space), and my list is ready to be pasted in outlook search:
"111236-2" OR "111235" OR "111321" OR "
I just manually remove the extra last OR ", giving me final :
"111236-2" OR "111235" OR "111321"
Can this be done using VBA?
Thanks in advance.