Search results

  1. M

    Outlook [Online - Office365] perfomance is getting affected when accessing the mails using Redemptio

    Does the same code work faster if you use Outlook´s objects instead? If so, I´d ask the vendor of the Redemption for assistance.
  2. M

    Change default colors for conditional formatting

    The colors are hardcoded and cannot be customized.
  3. M

    Automation error running VB macro code

    Maybe a DoEvents before the Next line will be helpful.
  4. M

    Automation error running VB macro code

    So it´s running through now?
  5. M

    Select a folder in a user account

    Depends on whether or not the mailbox is added to your profile. If it is, that is if you can see the mailbox name and its subfolders in the folder explorer (ctrl+6), then this would work, assuming that "invoices" is a subfolder of the inbox: set folder=application.session.folders("enter mailbox...
  6. M

    Automation error running VB macro code

    Ok, I thought the OLE Automation is missing. I'd walk through the code execution step by step by pressing f8, and see where it doesn't behave as expected. For instance, which line is executed before the error comes up, is any rule exucted at all?
  7. M

    Automation error running VB macro code

    Click Tools/References. Which entries are checked?
  8. M

    Object Variable or With Block Not Set Error in Outlook 2016 and not Outlook 2013

    The error simply means the subfolder doesn't exist. There's no difference between the versions of Outlook; however, it looks like the folder hierarchy isn't identical on all your machines.
  9. M

    Connect VBA(outllok) with JavaScript

    If possible, simply use the POST method, that is add the values to the URL like this:... your link/?key1=value1&key2=value2
  10. M

    Outlook 2016 bulk email from access

    Replace it by mymail.move drafts And outside the loop, of course, before the line mentioned above gets called, write: dim drafts as folder set drafts=myoutlook.session.getdefaultfolder(olfolderdrafts)
  11. M

    VBA to search email subject field for a certain string

    See the VBA help for a sample for the AdvancedSearch function.
  12. M

    How to 'really' delete IMAP emails?

    2007 is fine
  13. M

    How to 'really' delete IMAP emails?

    For Outlook 2010 and older here's a macro to purge the emails: Purge Deleted IMAP Messages - VBOffice
  14. M

    Reply all by attachment name

    The ReplyAll function returns a new MailItem object. If you want to send it, call that new item`s Send procedure.
  15. M

    Reply all by attachment name

    Pleas show your changes subject to the attachments, so we can see what's going on.
  16. M

    Reply all by attachment name

    show the code, please.
  17. M

    Reply all by attachment name

    The same solution: Within the loop through the emails, use another loop through olMail.Attachments, and search for the DisplayName of the attachment.
  18. M

    Making an Attachment Name the Message Subject

    Here's a sample: Making Attachment Name the Message Subject - VBOffice
  19. M

    VBA Script to move item in secondary mailbox

    Use the GetSharedDefaultFolder function to get the other inbox.
  20. M

    Categorize and move Outlook Email

    The property name is Categories. When done with changing properties, you need to call Save eventually. Do so before moving the item. The best souce for learning the object model ist the object browser. Press f2 to open it.
Back
Top