calling Excel Library in different version in Access VBA

Posted on 2011-05-05
Last Modified: 2012-05-11
I am running Access VBA which call Excel function. However, my colleagues use different Excel version. How to achieve calling Excel Library in different version?
Question by:howardching
    1 Comment
    LVL 3

    Accepted Solution

    If you want to call specific version of excel, then you can set the version number in the Create-/GetObject call.


    If you do not care which version is called, then just use "Excel.Application".

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Problem: You created a new custom form in Outlook for your contacts (added fields, deleted fields, changed the layout of fields, whatever) and made it the default form for contacts. The good news is that all new contacts will utilize the new form. T…
    The canonical version of this article is on my web site here: A companion presentation is available here:
    The viewer will learn how to simulate a series of sales calls dependent on a single skill level and learn how to simulate a series of sales calls dependent on two skill levels. Simulating Independent Sales Calls: Enter .75 into cell C2 – “skill leve…
    The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now