Some examples of the bogus info provided by ChatGPT: trying to use .Address property of RuleCondition object (no such property) and .Filter property of Rule object (no such property).
Here's the code sample I tried to get to work. Please note that this reference: RuleConditions.OnLocalMachine property (Outlook) states that 'onlocalmachine' property is read-only then later seems to contradict itself with the following: "This property of the RuleConditions collection always...
I've tried following the guide on this page: Specifying Rule Conditions, but nothing works. According to this page, this condition is able to be set with VBA, but any attempt to set the condition results in "object doesn't support property or method" or "type mismatch". Even tried using...
Update on item 1 above - now solved:
The rule that VBA it was choking on (see 4/4 post) had an exception condition "except if sender in Contacts". This may have been caused by my Outlook Contacts (which is actually iCloud Contacts) had gotten corrupted and I was getting a "...set of folder...
Going back to my 4/4 post where I listed the 2 baffling error conditions:
I gave up on this one - deleted the rule that was causing the issue, even though I was able to run the rule using the Rules Wizard (Manage Rules and Alerts, Run Rules Now, etc.) as I had stated originally. To me this is...
Going back to my 4/4 post where I listed the 2 baffling error conditions:
I gave up on this one - deleted the rule that was causing the issue, even though I was able to run the rule using the Rules Wizard (Manage Rules and Alerts, Run Rules Now, etc.) as I had stated originally. To me this is...
Didn't have correct notification settings, so I didn't see the latest response until now.
Didn't understand your response - I'm attempting to write a VBA macro to work with rules and it's failing the rule.execute method when the current folder is a search folder - nothing documented about such...
Lewis-H, not sure what your last post has to do with the issues I presented with Outlook and how rules handling is turned into mush by VBA in 2 different ways (they work fine creating a rule by rules wizard or by running rules via Rules Manager).
To answer your question, strSenderEmail does have the correct value of the the selected message email sender's email address, so that mystery remains.
I did encounter one additional problem. When the rule.execute method was invoked in a search folder (such as 'Unread Mail'), I'd get an VBA...
Was trying to edit the code snippet (I had HTML style <> instead of []), but now it's denying me from editing the post (it allowed it just a minute ago) ??!!
I created an Outlook VBA macro to allow the user to automatically create/run a rule to move the currently selected or opened email to a user-selected Outlook folder path. It will only create the rule if it doesn't already exists, and in either case it will prompt to run the rule on all message...
Looks like you didn't read my post and just copy/pasted. I HAD ALREADY DONE that registry edit as I had clearly stated in my original post and even gave a link to the source.
I have Outlook 2010 on Windows 7.
In my scenario, I'm trying to archive emails dated ('receive date') over 3 years from today's date (I have added the registry entry regarding 'modified date' mentioned here: AutoArchiving by Received Date in Outlook). The PST file is large (just under 50gb)...
As it turns out, I had copied the wrong file back to his computer - copied the correct file back
able to now delete and move items without hanging
send/receive fails with 'unable to open outlook.pst file - does not exist'
attempted SRS file delete fix as you had mentioned above - same problem...
Outlook 2010 (with latest updates) hangs while getting new messages or attempting to delete messages (with auto-send/rcv turned off). Here's what I've tried so far (with no success):
chkdsk /f - no errors found - retried Outlook - same failure
MBAM (MalwareBytes) - no malware found - fail...
So there's no VBA that can be written? I would assume that the rules must have some unique identifier embedded within each rule that identifies the PST file and folder (source or destination). Replacing the destination PST file with another one with the same name and path seems to trigger the...
Is there a way to fix a large set of 'broken' Outlook 2010 rules (with VBA, if necessary)? I had a user who had rules that referenced another PST file (moved messages to it by rule depending on a condition). He was trying to restore items back to that secondary PST file, but he closed it in...
No. I know that IMAP PST files cannot be 'reused' or copied. They are generated at the time the account is created and are automatically deleted when the account is removed from Outlook.
Thanks for the info (and workaround) related to Find Related on IMAP folders.
I figured as such on deleting folders. The workaround will have to suffice.
Strange that it would be 're-downloading' IMAP message that had already been downloaded. When an large IMAP account is duplicated on a...
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.