Results 1 to 3 of 3
  1. #1
    Demerit's Avatar
    Demerit is offline Competent Performer
    Windows 7 32bit Access 2007
    Join Date
    Nov 2013
    Posts
    125

    Using Late Binding in creating custom ribbons

    Hi to all!



    I am using Office 2010 in a windows 8.1 machine. Recently i created an access application with custom ribbons. In my machine, I make reference to the Microsoft 15.0 Object Library (Thats what is available on my PC), but in other clients machines (running windows 7 and office 2010) that i have had to install, I get the reference error message. They instead have Microsoft 14.0 object library.

    My worry is about the referencing stuff. Is there a VBA code (Late Binding) containing the object that are needed to create a custom ribbon so i dont have to worry or know the version of office a client is using.

    I have compiled my access application to executable (accde) and I have created a setup for it as well. One of the difficulties is that i cannot get to the code any more when the access application is already compiled to "accde" (which i dont want to do it any ways, not infront of my client).

    Please I will need your assistance getting me a late binding vba code that defines objects needed to creating a custom ribbon.

    Thanks in advance.

  2. #2
    JamesDeckert is offline Competent Performer
    Windows 7 64bit Access 2013
    Join Date
    Jul 2015
    Location
    Salina, KS
    Posts
    262
    are you using XML or VBA to build your custom ribbon?
    Is installing on the clients computer Access 2013 runtime an option? That might fix the problem.
    Maybe you could provide a snippet of your code to look at.

  3. #3
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    This article describes setting a library reference with VBA https://msdn.microsoft.com/en-us/lib...or=-2147217396

    I've never tried so don't know if it really works.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Late Binding Outlook Tasks and Appointments
    By sstiebinger in forum Programming
    Replies: 2
    Last Post: 08-21-2015, 02:20 PM
  2. Replies: 4
    Last Post: 11-16-2014, 09:56 AM
  3. send outlook email with late binding
    By markjkubicki in forum Programming
    Replies: 3
    Last Post: 01-24-2014, 09:39 AM
  4. How do I achieve late binding on a Chart?
    By RocketMonkey in forum Forms
    Replies: 1
    Last Post: 02-12-2013, 02:11 PM
  5. Creating Custom Ribbons
    By disco_stu in forum Access
    Replies: 1
    Last Post: 07-13-2010, 06:10 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