Search results

  1. M

    Outlook 2016 call to Stop Timer Event

    If you know you´re going to send 500, then use a varible to count how many times Send has been called.
  2. M

    Outlook macros to create meeting on shared calendar

    Press ctrl+6 in Outlook and look at the hierarchy of folders and their names. You´ll find the same hierarchy in Application.Session.Folders("[here the topfolder name]".Folders("[here the subfolder name]")
  3. M

    Outlook macros to create meeting on shared calendar

    Only the address is in quotation marks. For FolderType you need to specify which type of folder should be opened: place the cursor onto the word 'FolderType', press ctrl+switch+j, then select the type you need. Also, move the item before you display it.
  4. M

    Outlook macros to create meeting on shared calendar

    The email address must be enclosed in quotation marks. And you need to move the item to the target folder, that is after loading the template call: set newitem=newitem.move(calendarfolder)
  5. M

    Outlook macros to create meeting on shared calendar

    CreateItem`adds the item to the default calendar, which for your collegue is not yours. Call GetSharedDefaultFolder, and move the item to that folder. See a sample for how to use that function in the VBA help file.
  6. M

    Button to change subject

    This will work for a new email: public sub whatever() with application.activeinspector.currentitem .subject= "text" & .subject end with end sub
  7. M

    open calendar from address book

    Not sure what you mean by an "email calendar". If that´s a shared calendar of another mailbox, you´d get it by calling Application.Session.GetSharedDefaultFolder. See the VBA help file for how to use pass user to that function. When done, call Application.Explorers.Add and pass to it the folder...
  8. M

    Error using AddressEntry.GetContact - need help

    I could never figure when that function works and when it doesn´t. I´d use the Items.Find function of the contacts folder and search the email address myself.
  9. M

    Can I sync VBAProject.otm?

    I think you need to rely on your memory. You cannot rely on the LastModified date since it gets changed just by clicking the Save button even it there´s no change. This is what I do: I have a folder on the desktop where I keep all single files (classes, modules, forms) from the VBA project...
  10. M

    Restricting session mail with ConversationID

    Are you sure the ConversationID doesn´change? Since it´s computed, I´d expect it to change, too, when the topic is changed. BTW: The Outlook object model doesn`t allow to change the topic, you´d need to dig deeper. And changing the subject has no effect on the Conversation.
  11. M

    VBA to deal with Recalled messages

    Your way called the Remove method of the MailItem object, my calls it for the Items object. I´ve no clue why the MailItem doesn`t support it for this type of MessageClass. If you need the item in "ManualInbox" and if Copy works, you could first copy the item to the target folder, then delete...
  12. M

    Restricting session mail with ConversationID

    So you have two issues, 1) get the filter working, and 2) get the result displayed. The object browser is a great source of help. Press f2 in the VBA environment, then switch from <All Libraries> to Outlook. Select Items left hand, and its Restrict function right hand. Press f1 for help...
  13. M

    VBA to deal with Recalled messages

    It´s the ".Move oManualInbox" line that throws the error? Is the 0ManualInbox variable declared as Folder? If the Copy command would work, I´d try to call Items.Remove intI
  14. M

    Restricting session mail with ConversationID

    The Restrict function returns the items matching the filter, it doesn´t change what is displayed in the folder. You´d have to use an MSForm with a listview control on it to display the items yourself.
  15. M

    VBA to deal with Recalled messages

    How does the line of code look like that throws the error?
  16. M

    When more than "ItemSend" is needed

    Maybe you´d get better answers if you´d share details. We still don´t know which versions of outlook you want to support. If using NewForma´s Send button instead of Outlook´s button is important, NewForma really could be interested in overwriting Outlook´s button as mentioned. Did you ask them...
  17. M

    When more than "ItemSend" is needed

    Looking for what? If you only need to support Outlook 2010 and older, that would be easier. If 2013 and up, what language would you be using, do you have Visual Studio for creating an Addin? If you don´t have any experience in creating and deploying Addins, I´d first ask the vendor of NewForma...
  18. M

    When more than "ItemSend" is needed

    Since Outlook 2013 that´s not possible anymore with VBA. You´d need to overwrite the Send button, for which you´d need to create an Addin.
  19. M

    Custom form reverts from task

    Do you mean you open a linked contact from within a task item and then it displays the contact with the standard form? If so, does it use the custom form if you open the contact directly, or did you just test with a new contact? If the first I`d guess it´s not the same contact but a copy in...
  20. M

    Array out of bounds .display 2016

    Does it work when you don´t change any properties of the email but just diplay it?
Back
Top