Thanks Thanks:  0
Likes Likes:  0
Results 1 to 5 of 5

Thread: Code to install Word Object Libray

  1. #1
    Board Regular
    Join Date
    Jan 2006
    Location
    Leeds, UK
    Posts
    1,263
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Code to install Word Object Libray

    I have a file that is used across machines that use Excel 2010 & 2013.

    I need the relevant Word Object Library to be available to all users but user of 2010 run into an error as the 15.0 library is missing.

    Therefore, I need to run some code in the Workbook_Open code to check which version and then install the relevant library. Ideally I want to future proof and check if Excel 2016 is being used.


    Thanks

  2. #2
    MrExcel MVP
    Moderator
    RoryA's Avatar
    Join Date
    May 2008
    Location
    UK
    Posts
    30,353
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Code to install Word Object Libray

    It will be much easier to late bind your code so that you don't need the reference at all.

  3. #3
    Board Regular
    Join Date
    Jan 2006
    Location
    Leeds, UK
    Posts
    1,263
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Code to install Word Object Libray

    Thanks RoryA but could you explain how to do this?

  4. #4
    MrExcel MVP
    Moderator
    RoryA's Avatar
    Join Date
    May 2008
    Location
    UK
    Posts
    30,353
    Post Thanks / Like
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Code to install Word Object Libray

    Last edited by RoryA; Feb 10th, 2016 at 06:52 AM.

  5. #5
    Board Regular
    Join Date
    Jan 2006
    Location
    Leeds, UK
    Posts
    1,263
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Code to install Word Object Libray

    Thanks RoryA, I think that has done the job!

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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


DMCA.com