Results 1 to 3 of 3
  1. #1
    dave4 is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Jun 2016
    Posts
    2

    Outlook 2016 not launching with code

    Hi All,

    Our office has been using Office 2010 and just recently upgraded to Office 2016. In Access we have a button that if it's clicked Outlook would open up with a pre-populated email. Ever since we got Office 16, the button doesn't do anything. All the coding is the same, nothing changed. One of the older computer still on Office 10 works perfect, it's just the new Office. Has anyone experienced this?
    Dim olApp As Outlook.Application
    Dim objMail As Outlook.MailItem
    Set olApp = Outlook.Application
    Set objMail = olApp.CreateItem(olMailItem)



    Thanks you,
    Dave4

  2. #2
    davegri's Avatar
    davegri is online now Excess Access
    Windows 10 Access 2016
    Join Date
    May 2012
    Location
    Denver
    Posts
    3,404
    You probably need to update your references in the VBE Tools to Microsoft Office 16.0 Object Library

  3. #3
    dave4 is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Jun 2016
    Posts
    2
    Quote Originally Posted by davegri View Post
    You probably need to update your references in the VBE Tools to Microsoft Office 16.0 Object Library
    I checked the references and everything Office 16 related is checked, but it's still not working.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 3
    Last Post: 04-21-2016, 06:20 AM
  2. Email button on a form launching outlook
    By chuchothelord in forum Access
    Replies: 1
    Last Post: 09-08-2014, 09:55 PM
  3. Add Outlook Signature to Email - CODE
    By floyd in forum Programming
    Replies: 1
    Last Post: 11-27-2013, 09:23 AM
  4. getting outlook attachments using vba code
    By umenash in forum Access
    Replies: 3
    Last Post: 10-02-2013, 12:15 PM
  5. Code doesn't open outlook and it should
    By mercapto in forum Programming
    Replies: 20
    Last Post: 09-21-2013, 04:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums