Thank you both for this help. My requirement is slightly complicated.
I am trying to create a search folder for the logic given above which will search in all data stores.
I am trying to use olSearchScopeAllFolders but it's not working.
Can either help?
Thanks! I modified my code as below, but I get an error message :(
Sub SearchMG()
Dim myOlApp As New Outlook.Application
Dim ns As Outlook.NameSpace
Dim strFilter As String
Dim oMail As Outlook.MailItem
Set ns = myOlApp.GetNamespace("MAPI")
Set objSearch =...
My set up is OL 2010 in an exchange environment.
I learnt / tweaked from the following:
Search for messages from contact macro
and ended with this:
Sub SearchMG()
Dim myOlApp As New Outlook.Application
Dim ns As Outlook.NameSpace
Dim strFilter As String
Dim oMail As...
Dear Diane,
If you help with some beginner code to start this I would be obliged.
If it would help with some commented options to indicate which line would get me first name , which would get me all names, etc THAT would be awesome!
Thanks a lot!
Hi,
I had posted this earlier in the Using Outlook forum. I think I asked the question in the wrong forum.
Can anyone help me with a simple code to insert first name of recipient(s) from a macro button?
This button would be executed from a new mail / reply or reply to all window.
The...
Hi,
Can anyone help me with a simple code to insert first name of recipient(s) from a macro button?
This button would be executed from a new mail / reply or reply to all window.
The recipient name would be entered before this macro is executed.
Some sample code on how to manage...
I can't see any option to edit my post hence double posting, sorry.
Alternate to my above request, is there any way I can prefill flagdueby & reminder setting and prompt for the entire Follow up flag box?
Thanks
Hi,
I tried to activate QueryBuilder using the steps as outlined in Using Query Builder - Slipstick Systems
Even Diane tried to help me on that page, but it did not work. I could not see QueryBuilder as an option.
My setup is as follows:
Outlook 2010 version 14.06112.5000 (32-bit) as...
Looking for something similar. Or a guide on how to create something similar to track projects which are across emails, appointments , tasks, etc.
I operate in a restricted IT environment where I cannot install add-ins.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.