+ Reply to Thread
Results 1 to 6 of 6

how to keep checked Microsoft outlook 15.0 Object Library

  1. #1
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    how to keep checked Microsoft outlook 15.0 Object Library

    Hi everybody!

    I have a question. I am trying to send e-mail using VBA. What I do is; open VBA go to tools-> references and check Microsoft outlook 15.0 Object Library, click ok.
    I run the code, the code finalize the process(send a message). But when I redo again, excel uncheck Microsoft outlook 15.0 Object Library from vba.

    Is any way to save the changes so I can avoid go to tools and check again and again Microsoft outlook 15.0 Object Library?

  2. #2
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: how to keep checked Microsoft outlook 15.0 Object Library

    Reference is saved with workbook. If you save after adding the reference it should not become unchecked.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

  3. #3
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: how to keep checked Microsoft outlook 15.0 Object Library

    Quote Originally Posted by Izandol View Post
    Reference is saved with workbook. If you save after adding the reference it should not become unchecked.
    in that workbook is checked but when I open a new workbook, it needs to check again.

  4. #4
    Forum Contributor
    Join Date
    05-29-2014
    MS-Off Ver
    Office 2013
    Posts
    115

    Re: how to keep checked Microsoft outlook 15.0 Object Library

    so this change is only in macro level. when I open a new workbook i have to redo

  5. #5
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: how to keep checked Microsoft outlook 15.0 Object Library

    Yes, you must. Reference list is specific to each workbook.

  6. #6
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,645

    Re: how to keep checked Microsoft outlook 15.0 Object Library

    You could always use late-binding, which wouldn't require a reference and should work across all versions that are being used.
    If posting code please use code tags, see here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. macro to fix missing:microsoft outlook 14.0 object library
    By sujithy007 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 05-13-2021, 09:59 AM
  2. How can I reference Microsoft Outlook 15.0 Object Library?
    By rkjudy in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 04-11-2019, 06:25 AM
  3. Microsoft Outlook 14.0 vs 15.0 Object Library
    By Puff_N_Stuff in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-08-2014, 12:48 PM
  4. Excel won't allow me to add reference to Microsoft outlook object library
    By Skyla157 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-19-2013, 07:38 PM
  5. VBA References - Microsoft Outlook 14.0 Object Library - load with macro
    By bltn in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-18-2013, 11:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1