Search results

  1. M

    Trouble using keyboard shortcut for color categories in Outlook 2016

    The macro is already available. You only need to paste it as described.
  2. M

    Print first page of a new email

    Here's a sample: Print First Page of an Email - VBOffice
  3. M

    Print first page of a new email

    Show the code, please.
  4. M

    Print first page of a new email

    Item.GetInspector.Wordeditor.Printout Range:=wdPrintFromTo, From:="1", To:="1"
  5. M

    announce email sender and subject when new email arrives...

    yep, it's really cool :) This shoud be faster as it keeps the ref on xl: private xlApp as excel.application private sub application_startup() set xlApp=new excel.application end sub The variable is set to Nothing automatically when you close Outlook.
  6. M

    announce email sender and subject when new email arrives...

    You can pass the text to Excel: Speech.Speak Method (Excel)
  7. M

    Outlook version of Excel command?

    It doesn't matter where the code is running. You most likely call Workbook.Save*, so you're calling a method of the Excel library. Workbook.Application refers to the Excel application object, so it's pretty simple: Workbook.Application.DisplayAlerts=false You just need to insert the variable...
  8. M

    on flag message event - create task

    I'd say it's easy, you just more code to write :-)
  9. M

    Outlook version of Excel command?

    Outlook doesn't have that property. It's a message of Excel, not of Outlook, right? Then set Excel's DisplayAlerts property.
  10. M

    on flag message event - create task

    You'd need to move the event to a class module, loop through the entire folder hierarchy and create one object of that class for every folder. Use a collection in ThisOutlookSession to store the reference on each object of your class module. Here is a sample for the loop through all folders.
  11. M

    on flag message event - create task

    Keep in mind, after every change of the code the "initalize_handler" should be called, which isn't called automatically at startup. Better name it Application_Startup
  12. M

    Cannot run script from rule

    Most likely renaming the sub did it.
  13. M

    HOW CAN I CHANGE THIS TO SENT ITEMS

    See the GetDefaultFolder function, there change the passed value to olFolderSentItems.
  14. M

    Trouble using keyboard shortcut for color categories in Outlook 2016

    Maybe MS closed that workaround. See if this macro still works: http://www.vboffice.net/en/developers/display-categorizer-for-outgoing-emails
  15. M

    Outlook: copy & paste

    See the Application.CreateItemFromTemplate function.
  16. M

    Create message from .msg file

    I don't think so.
  17. M

    Create message from .msg file

    If it's an attachment, you need to save it as a file. A msg file can be loaded with the CreateItemFromTemplate function.
  18. M

    Open CHM file from VBA Userform

    CreateObject("WScript.Shell").Run "file.chm"
  19. M

    VBA missing Stationery Picker.

    Unfortunately, there's no other option. I hope MS will improve the ribbon, which is - from a devs perspective - awful.
Back
Top