Search results

  1. D

    Unable to change AppointmentItem.Start property

    Found a way to modify the starting date of a recurring appointment. Here' how it's done: 1) Determine if the appointment item is recurring using the .IsRecurring property of the AppointmentItem object. 2) if IsRecurring is True, then use the .PatternStartDate property of the RecurrencePattern...
  2. D

    Unable to change AppointmentItem.Start property

    It turns out that nearly all of the manually created AppointmentItems are recurring and I guess there's no option in VBA to modify the start date/time of a recurring appointment (is there?). Non-recurring appointments work ok.
  3. D

    Unable to change AppointmentItem.Start property

    On some items of type AppointmentItem, I can set the Start property either as data type String or Date, other items of same type (I verified this by use TypeName (item)), I get either 'object does not support method' (if item declared as Object) or 'type mismatch (if item declared as...
  4. D

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

    I did post the code example as you requested several weeks ago.
  5. 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).
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. 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).
  13. 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...
  14. 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) ??!!
  15. 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...
  16. 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.
  17. 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)...
  18. 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...
  19. 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...
  20. 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.
Back
Top