Search results

  1. M

    Calling a Public sub-routine from the script editor via VB script

    You can try this syntax ThisOutlookSession.Forward If that doesn´t work either, it´s probably blocked for security reasons. An alternative would be to move the method to a module (not a class module).
  2. M

    Deleted Items - Unable to Iterate All of Items

    Most likely the remaining items are not mail items.
  3. M

    Macro to add multiple recipients to message

    NewInspector and Inspector_Activate - VBOffice
  4. M

    IMP.Note Versus REPORt.IPM.NOte

    Add the new condition to the If line with an OR
  5. M

    Macro to add multiple recipients to message

    You could solve that somewhat easily with Outlook VBA only if Adobe directly calls Outlook to create the email. I doubt this is the case. More likely is that Adobe sends the call to create the email to an underlying mechanism that creates the email no matter which email app you´re using. In this...
  6. M

    IMP.Note Versus REPORt.IPM.NOte

    Which code are you referring to?
  7. M

    Can you set reminder to specific times?

    If you right click the email to add a reminder, there´s two dropdown boxes, one for choosing the date, one for the time.
  8. M

    Import contacts to a shared mailbox

    See the GetItems function. There call olNs.GetSharedDefaultFolder and pass the mailbox´email address.
  9. M

    Auto-export mail to Excel

    Matt, look at the code for all objects that belong to Excel and not to Outlook like Application or Sheets. For instance, when running in Outlook, Application points to Outlook instead of Excel. And Outlook´s Application object doesn´t know a ScreenUpdating property. You need to use variables to...
  10. M

    Import Categories from Outlook 2003

    Phil, I`m myself behind VBOffice. If you only need to sync the master category list (mcl) once, you can use the mentioned addin, which is free for 30 days. The described process of importing the *.reg file is limited to only 10 categories during the free trial period; a limitation that was...
  11. M

    Import Categories from Outlook 2003

    Since the Upgrade to Color Categories option can only find categories assigned to items in the pst file it maybe doesn´t restore all the master category list. Category-Manager can import the all the categories from the Registry . Open the registry editor, and navigate to...
  12. M

    Delete Emails from Senders in Shared Mailbox

    You need to set the variable "mynamespace" before using it. Right now it is set three lines after the one that throws the error.
  13. M

    Open & Save VBAProject.Otm using VBA Code

    Outlook doesn´t support that.
  14. M

    VBA BeforeItemMove event create rule to always move to its folder.

    Is objFolder_BeforeItemMove being called? You can test it by setting a breakpoint on to that line of code.
  15. M

    VBA BeforeItemMove event create rule to always move to its folder.

    In order to receive an event you need to declare a variable for the object with the With Events statement: Private WithEvents Inbox As Outlook.Folder Private Sub Application_Startup() Set Inbox = Application.Session.GetDefaultFolder(olFolderInbox) End Sub Now you can select the variable...
  16. M

    Remove text in subject using VBA

    He has copied that macro from my site. The array is used so users can extend it as easily as possible to remove more than just one text.
  17. M

    VBA Code to permanently delete selected email

    "obj" is a variable you´d used with the For Each loop. It is not a property of Item(i). The loop will be faster if you use variables so that every object has to be referenced as less as possible: dim items as outlook.items set items=deletedfolder.items for i.... set obj=items(i) if...
  18. M

    VBA Code to permanently delete selected email

    Sort the Items collection descending before the loop starts deletedfolder.items.sort "[Receivedtime]", true Then use a For i=1 to 50 loop instead of For Each.
  19. M

    Tracking Mail items being moved to folders

    As Diane mentioned, you´re mixing different code. Use ItemAdd, if you want to handle on item added to a folder. Use the loop through selected items if you want to handle items selected by the user. The For Each loop already loops through the items, giving you a ref on each selected item. Why do...
  20. M

    FASTEST METHOD TO ENUMERATE FOLDERS

    For Outlook 2016 using a For i= loop is faster than For Each. I haven´t tested that in earlier versions. And for Outlook 2010 and older (not sure about 2013) using the RDOFolder object from Dmitry´s Redemption is way faster than the OOM.
Back
Top