still trying to get the rules to work on outlook 2010 using an imap account.
question above asked whihc line of my code do i have to replace to get it to work and what do i replace it with
the code above provides me the full valid store ID, which didnt fix the issue, unless i wasnt correctly using the store ID in calling the session.
If possible can you please type out the full line how i have it and how you woulr have it instead
i used the below code to get the full Session ID, and then called the SessionStores by the ID to no avail, giving me the same exact error
-- Code used to obtain ID
Public Sub GetListOfStores()
On Error GoTo On_Error
Dim Session As Outlook.NameSpace
Dim Store As Outlook.Store
Dim...
its indeed in OL2010,
but i'm not sure what you mean when you wrote "you need to find the imap account in Session.Stores, then call that Store's GetRules function"
Ive seen forums discussing rules to enable / disable rules based on time of day and or based on a task trigger using VBA codes, however those only work if teh account is a POP3 accoutn not when its an IMAP account.
Is there any way to get these codes to work on an IMAP account.
----
Sample VBA...
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.