Search results

  1. oliv-

    How to Run a Script IN AN ADDIN with Outlook's Rules and Alerts

    Hi, I want to run a script in a Rule, it's ok if the script is in the VBAPROJECT, but how to do that if is in an OUTLOOK ADDIN ?
  2. oliv-

    Shared Mailbox Alert

    Hi, You can test it If you want an alert it's better using an Userform (vbmodeless) than Msgbox Private WithEvents olInboxItems As Items Private Sub Application_Startup() Dim objNS As NameSpace Set objNS = Application.Session ' Get function from Working with VBA and non-default Outlook...
  3. oliv-

    Best practice for catching mailitem.events

    Hi, What is the best pratice for catching Mailitem events ? (response, forward, etc...) i saw in this article : VBA Sample: Do Something When Reply is Clicked this code Option Explicit Private WithEvents oExpl As Explorer Private WithEvents oItem As MailItem Private bDiscardEvents As Boolean...
  4. oliv-

    HIDE ITEM

    it's ok ! Sub AssignStorageData() Dim oInbox As Outlook.Folder Dim myStorage As Outlook.StorageItem Set oInbox = Application.Session.GetDefaultFolder(olFolderInbox) ' Get an existing instance of StorageItem, or create new if it doesn't exist Set myStorage =...
  5. oliv-

    Open a folder / subfolder of a PST in single click

    Hi , Command Bars were deprecated with Outlook 2010
  6. oliv-

    HIDE ITEM

    Thank you , I will test it.
  7. oliv-

    HIDE ITEM

    Hi, Is there a way to hide an item ? I want to use a mailitem as parameters for an ADDIN
  8. oliv-

    "Online mode with Exchange server" vs "online"

    Hi Diane, Thank you for your response.
  9. oliv-

    "Online mode with Exchange server" vs "online"

    Hi, I have an issue with vba code when i use .getConversation.GetTable If we are in mode "Online with Exchange server" or ""Connected to Microsoft Exchange" it's ok But if we are just "Online" (when it's an Additional Mailbox), it's KO there is no line in the table. additionnal Mailbox but...
  10. oliv-

    Need Help with Contacts VBA

    Hi, take a look Bulk Change File As Format for Contacts
  11. oliv-

    Outlook script to forward emails based on senders' address

    Same as Outlook script to forward emails based on senders' address
  12. oliv-

    Print email message and attachment in order

    Hi, Make one PDF with EMAIL and ATTACHMENTS and then print THE PDF
  13. oliv-

    Auto Save of Attachments from Multiple Emails and forward attachments to user group

    Outlook rules (and Script ) are raised for each Email. To create a new mail you need to wait the 3rd Email. Public Sub saveAttachtoDisk(itm As Outlook.MailItem) Dim objAtt As Outlook.Attachment Dim saveFolder As String saveFolder = "m:\Attachments" For Each objAtt In...
  14. oliv-

    .RESTRICT returning birthdays regardless of the filtering date

    Hi Diane, With your code above, i get nothing ! Perhaps it's because i'm French I have updating my code with a short restrict filter : Sub ContactDateCheckV2() Dim myItems As Outlook.Items Dim currentAppointment As Object Dim myAppointments As Object Dim strDate Dim...
  15. oliv-

    .RESTRICT returning birthdays regardless of the filtering date

    Hi Diane, Thank you for your help. If birthday is in my query period, ok i want it . But in this case all birtdays are in the result
  16. oliv-

    .RESTRICT returning birthdays regardless of the filtering date

    Can anybody confirm the BUG ? If you want to test it. Paste the code in a module. Add a contact with a birthday. Run it
  17. oliv-

    Macro that does not overwrite but add a number

    Hi, N = 1 MemPath = pj.FileName PathNomExport = MemPath While Dir(Repertoire & PathNomExport) <> "" PathNomExport = "(" & N & ")" & MemPath N = N + 1 Wend pj.SaveAsFile...
  18. oliv-

    .RESTRICT returning birthdays regardless of the filtering date

    Hi, It has been several times that the restrict method returns birthdays, which does not match my filter What is the reason? Option Explicit Sub ContactDateCheck() Dim myItems As Outlook.Items Dim currentAppointment As Object Dim myAppointments As Object Dim strDate Dim...
  19. oliv-

    How to select an mailitem in explorer with "show as conversation"

    I read it on the Error dialog box ! here is my new operational version Public Sub GetItemFolderPathAndSwitch() '--------------------------------------------------------------------------------------- ' Procedure : GetItemFolderPathAndSwitch ' Author : Michael BAUER, improved by OLiv ' Date...
  20. oliv-

    How to select an mailitem in explorer with "show as conversation"

    Hi Michael, I agree with you ! But my code is an alpha version, so it lacks instructions in the ErrorHandler, to handle the case folders with the "show in conversation", and other instructions were there, to test other ways. I wanted to uncheck the "show in conversations" option with msoexecute...
Back
Top