Only other idea would be to display the new Explorer before running Search on it. Otherwise, no ideas other than using the original Explorer. -- Ken Slovak [MVP - Outlook] http://www.**--****.com/ Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.**--****.com/
Thanks again Ken, Displaying before did not help. Anyone else have any ideas? -- Eylon
1.Macro for Instant Search in new Window, failes Instant search (OL2
Hello Everyone, I wrote a Macro that takes the selected Email, removes some text from the subject (e.g. E:, FW:etc.) and performs a search on all Emails containing this string. The results of the search are displayed in a new window. Sometimes it works as expected, and sometimes I get an error: This is how the error object holds these values: Description: "The operation failed." HelpContext: 1000440 Number: -2147219964 From when it fails, Instant search stops responding in the main window as well. All this until I restart Outlook (2007). Interestingly, when I change the Macro to display the results in the current (main) window, it always work without any problem. The code: ****************************** Sub SearchByStrippedSubject() Dim app As New Outlook.Application Dim item As Object Dim email As MailItem Set email = app.ActiveExplorer.Selection.item(1) Dim myExplorer As Explorer On Error Resume Next Set myExplorer = app.Explorers.Add(app.Session.GetDefaultFolder(olFolderInbox), olFolderDisplayNormal) Dim filter As String filter = email.Subject filter = Replace(filter, "RE: ", "") filter = Replace(filter, "FW: ", "") filter = Replace(filter, "RE:", "") filter = Replace(filter, "FW:", "") filter = Replace(filter, " (handled)", "") filter = Replace(filter, "(handled)", "") filter = Replace(filter, " (handling)", "") filter = Replace(filter, "(handling)", "") filter = Chr(34) + filter + Chr(34) On Error Resume Next myExplorer.Search filter, olSearchScopeAllFolders If Err.Number >> 0 Then MsgBox Err.Description Err.Clear myExplorer.Close Exit Sub End If myExplorer.Display End Sub ****************************** Any ideas? TIA, -- Eylon
2.Instant Search, Advanced Find, Search Folders, and Windows Desktop
Instant search stopped working for me. Now if I search for even the letter "a", I get the following message: No matches found for: "a". When I ask "advanced find" to find any emails with categories contains TNE01, it returns no results. However, advanced find works somewhat. For example when I look for items in my inbox with "a" in the subject line, it returns 78 matches. When I use "search folders", to find emails with categories = TNE01, 14 items are returned. When I use "search folders" to find items with "WC" in frequently used text fields, it returns 765 items. When I use Windows Desktop to search for TNE01 in email, nothing is returned. But Windows Desktop does search emails. If I search for WC, it returns 112 email items in "Personal Folders". Earlier today it said it was done indexing... now instant search says it has to index 12,155 items...
3.2007 search box and instant search invite, remove them
i don't want to see the search box, or the yellow bar asking me enable instant search. i didn't install instant search. i've heard nothing but bad things about it. how do i get rid of the search box and yellow 'enable' box that sits over all the email messages, contacts, notes, etc. ? -- jeffrey
4.SPEED: Instant Search vs. Search Folders
It seems that an instant search works faster than a search folder. This seems crazy to me -- why would you set up a search folder if you can find stuff faster with an instant search on the fly. Is this just how it works, or is something wrong iwth my outlook installation?
5.Instant search crashes when searching all folders
I wouldn't be posting this question if I'd found the answer here already. Instant search is one of the great features of Outlook 2007, in my opinion. Works great on my wife's computer, but only works on mine if I search one folder at a time. If I chose to search all folders Outlook crashes. Error reports lead nowhere on Microsoft's site. Any help would be appreciated. I use Vista Ultimate, Office 2007 PRO. Latest updates for both. And just reconfigured my entire computer 1 week ago, complete reformat and reinstall of all programs. pst file at fault perhaps? Thanks, Robert
6. How can I clear recent search results in Outlook Instant Search
7. "instant search" stopped working in last few days "unable search"
8. Instant Search only searches in archive folder (outlook 2007)
Users browsing this forum: No registered users and 19 guest