Search in 2 folders with their subfolders

Status
Not open for further replies.

zvidan

New Member
Outlook version
Outlook 2013 64 bit
Email Account
Exchange Server
Hi all,
I try to find the trick how manage search in 2 different folders (1) located in different data files and (2) with their subfolders.

I need it, as my company (Intel) uses MailCloud as a backup for our Outlook mail system, and all folder has 2 parts: containing last year (365 days) messages, and earlier ones (backup), located in different places (and datafiles).

To search in them both together I need the combination, described above.

I know, how to search in several folders (with their subfolders), but it seems to be impossible when
upload_2016-1-10_14-34-39.png
upload_2016-1-10_14-54-32.png
upload_2016-1-10_14-34-39.png upload_2016-1-10_14-54-32.png trying to select folders in different datafiles:
upload_2016-1-10_14-34-39.png


I know the trick, how to search in different datafiles, but NOT in subfolders of selected folders - it works:
upload_2016-1-10_14-54-32.png


So - how can I combine these 2 approaches together ?
The second one seems to be more promising, but how can I widen the search to subfolders as well ?
 
You won't be able to limit it to folders, but if you know the data range and keywords, you can search by date.

Add this to the query to only find messages between these dates: received:(1/1/13..1/1/15)

See Instant Search Queries for other examples. (Kind won't work in Outlook anymore- it works in win7 / Outlook 2010.)
 
As you can see from my examples, I can limit it (1) to folders with subfolders, but within the same datafile, or (2) to folders only (without subfolders) in different datafiles - both approaches do work !
The 2-nd approach is almost what I want, and I'm looking for how to widen this search to subfolders.
Some trick, combination ... ?
 
No, in this case ("Subfolders" is selected) the search is performed in ONE FOLDER ONLY (with its subfolders), when the goal is to search in 2 folders with the same name (that actually are ONE logical folder in MailCloud backup - its last and past parts).
To search in two folders (with the same name) the AllMailboxes should be selected.
 
Yes, I understand. But as we know, the list of folders (with subfolders) for some reason is restricted by one datafile only - so I cannot search in 2 parts of one "logical" folder ...
How it can be overcome ?
 
You can't use search folders, but instant search supports all data files.

I thought Instant Search could search multiple folders by name, but either i remembered wrong or I'm not using the correct format for the query.
 
This is exactly the reason of my question - to find the expert who knows different approaches of Outlook search and is able to build the "killing" combination.
It seems to me, that you are such an expert !
In my primary question I've described 2 approaches I've found by myself, and both of them are not what I finally want.
With your knowledge and experience, maybe you can find out the right format of the quarry, providing the search in the folders with given name (and their subfolders) located in 2 distinct datafiles ?
 
Well shoot - i thought it was this format, then my test search failed. But it was just outlook acting goofy. :) It's working this morning - (typical Outlook! :))

Multiword folder names need quotes:
Code:
folder:(clutter) OR folder:(inbox)
folder:(inbox) OR folder:("sent items")

Adding a 3rd folder fails - i don't recall if i ever tested it with more than 2.
 
O, it looks interesting and highly promising !

Let me ask you specific question:
I have the 2 folders with the same name, but located in 2 different distinct datafiles:
(1) MyFolders\Work\Companies
(2) OnlineArchive\MyFolders\Work\Companies

Could you kindly build the search query for searching in both, but with their subfolders ?
(I know by my self how to do it withOUT subfolders).

Thanks in advance !
 
Assuming Work is the folder name and Companies is subfolder:
Code:
folder:(work) OR folder:(companies)

You'll need to use the all mailboxes scope too.

This is the results from 2 Exchange mailboxes and 1 IMAP.
search.png
 
If you need to search subfolders under companies, you'd use those names instead. This will only search the two named folders though - it won't do a wildcard search of all subfolders like you'd get via the include subfolders option. It is totally limited to the 2 named folders.

Oh, and it's not whole words - so if you have two folders with similar names (my example is folders named old stats and stats), searching for stats will return results from both.
 
Yes, I know: if I use <folder: (Companies)> as search command (in All Mailboxes), I'll find messages of "Companies" in both branches - \MyFolders\Work & \OnlineArchive\MyFolders\Work - and it is part of what I want.
As I want to search not only in 2 "Companies" folders, but - in addition ! - in their subfolders as well !

And this is my question to you: what could be a way/trick/... to make Outlook to search in subfolders for the example above ?
 
you can't search the subfolders - the Folder: (name) search is limited to the folders that have that word in their name.

You can search Companies and 1 other folder. If the subfolders all have a common word - "Company: A", "Company: B", then you could search all of the folders that have the common word in their name: Folder: (company).
 
I see... It is really pity, I hope that it could be some additional, not commonly known parameter/trick causing search in subfolders...
But if you know, that there is no such a trick ...
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
G Search Folders and Jump to Folder Outlook VBA and Custom Forms 2
C Outlook with Office365 - search across account, by date rate, in multiple folders - how? Using Outlook 2
D Custom Search Folders not refreshing/updating automatically Using Outlook 0
F Search folder for tasks in all task folders Using Outlook 1
D Search Results Highlighting even in the search folders Using Outlook 1
K Macro to search emails between two time slots on public folders with excel export Outlook VBA and Custom Forms 12
B Search Folder for search messages in more than one account and / or multiple PST folders Using Outlook 3
C Custom Search Folders deleted, /resetnavpane, can i restore? How? Exchange Server Administration 1
N Using Categories & Search Folders with multiple accounts Using Outlook 4
J Dynamic date range for Outlook Search folders Using Outlook 2
A Search folders for tasks Using Outlook 1
Commodore Outlook 2010 - Search Folders position Using Outlook 6
B Search contact folders Using Outlook 2
T search folders to segregate internal e-mails ( from company domain ) vs exter Using Outlook 1
S Search Indexing (Copying Folders) Using Outlook 0
T Can not drag e-mails from search to folders Using Outlook 1
S Outlook 2010: How do you enable Contacts' Activities to search archive folders Using Outlook 6
M Stop Search folders from disabling every 1-2 days? Outlook VBA and Custom Forms 3
M How do I delete Search folders? Outlook VBA and Custom Forms 2
J Search Folders for Tasks Using Outlook 6
efire9207 Addressbook Search Using Outlook 0
Victor_50 Outlook 365 Quick search by period (today, yesterday, last week) completely missing in newest OL 365 Using Outlook 0
A Outlook 2021 needs 'enter' for people search Using Outlook 2
M Search message, then (1) Jump to folder & (2) Select message that you searched for Outlook VBA and Custom Forms 6
A 'search people' now asks me to 'press enter' Using Outlook 11
A Relocate Search Bar in Outlook Using Outlook 2
A Search folder and move the email Outlook VBA and Custom Forms 0
farrissf Outlook 2016 Optimizing Email Searches in Outlook 2016: Seeking Insights on Quick Search vs Advanced Search Features Using Outlook 0
C Advanced search terms for "Outlook Data File" Using Outlook 1
T How to find or display the sub-folder name for an Archive Search Using Outlook 10
P Search folder: all emails sent to or from a domain Using Outlook 1
T Outlook365 search item listed as "potential matches" can't be opened Using Outlook 0
Victor_50 Outlook 2019 Jump to folder from search folder Outlook VBA and Custom Forms 0
E Outlook 365 Save Selected Email Message as .msg File - oMail.Delete not working when SEARCH Outlook VBA and Custom Forms 0
Witzker Outlook 2019 Macro GoTo user defined search folder Outlook VBA and Custom Forms 6
J Outlook search bar in Office 2021 Professional Using Outlook 1
T Outlook 365 Search Box reverting to old location Using Outlook 2
P Outlook 2013 search no longer works Using Outlook 2
C How to search for items in Outbox with multiple accounts? Using Outlook 20
J search doesn't find anything Using Outlook 1
kkqq1122 How would I add Search for attachment name Outlook VBA and Custom Forms 3
A Any way to force sort by/group by on search results with VBA? Outlook VBA and Custom Forms 1
B Search and Find Email by Folder Name Outlook VBA and Custom Forms 2
C Search not accurate, but not indexing Using Outlook 9
J How do you disable address search box when typing @ in body of email? Using Outlook 0
H Outlook 2019 intermittent search results Using Outlook 0
D Create advanced search (email) via VBA with LONG QUERY (>1024 char) Outlook VBA and Custom Forms 2
D Advanced e-Mail search on from/to contact group only searches for first 20 contacts in group Using Outlook 0
mll persistently customise columns in outlook advanced search Using Outlook 3
S vba outlook search string with special characters Outlook VBA and Custom Forms 1

Similar threads

Back
Top