Search results

  1. D

    VBA - unable to set rule condition 'on this computer only'

    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).
  2. D

    VBA - unable to set rule condition 'on this computer only'

    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...
  3. D

    VBA - unable to set rule condition 'on this computer only'

    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...
  4. D

    Outlook VBA error extracting property data from GetRules collection

    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...
  5. D

    Outlook VBA error extracting property data from GetRules collection

    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...
  6. D

    Outlook VBA error extracting property data from GetRules collection

    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...
  7. D

    Outlook VBA error extracting property data from GetRules collection

    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...
  8. D

    Outlook VBA error extracting property data from GetRules collection

    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).
  9. D

    Outlook VBA error extracting property data from GetRules collection

    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...
  10. D

    Outlook VBA error extracting property data from GetRules collection

    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) ??!!
  11. D

    Outlook VBA error extracting property data from GetRules collection

    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...
  12. D

    Archive by receive date not working

    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.
  13. D

    Archive by receive date not working

    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)...
  14. D

    Outlook 2010 hangs during message send/receive

    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...
  15. D

    Outlook 2010 hangs during message send/receive

    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...
  16. D

    Trying to repair Outlook rules

    Thanks for the help. It's puzzling why Microsoft would decide to withhold the key pieces of the object model to allow one to properly work with rules.
  17. D

    Trying to repair Outlook rules

    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...
  18. D

    Trying to repair Outlook rules

    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...
  19. D

    Outlook IMAP issues

    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.
  20. D

    Outlook IMAP issues

    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...
Top