Consulting

Results 1 to 2 of 2

Thread: Access Ribbon

  1. #1

    Access Ribbon

    I am trying to create a Ribbon in Access 2007, not having fun. I created the USysRibbons table and put my XML code in. The Ribbon shows up and my icon is displayed. What I am having trouble is that the button will not function! I don't know why?? I tried to declare:
    Public ribbon As IRibbonUI 
    
    
    Formatting tags added by mark007
    but the module does not pick up IRibbonUI..... Is there a Reference that I need to add?? I don't think so..... Excel just picks it up.


    my XML
    <customUI xmlns="[URL]http://schemas.microsoft.com/office/2009/07/customui[/URL]"> 
    <ribbon startFromScratch="false"> 
    <tabs> 
    <tab idMso="TabCreate" visible="false" /> 
    <tab id="dbCustomTab" label="Personal Safety" visible="true"> 
    <group id="dbCustomGroup2" label="Data Loader"> 
    <button id="RunMyMacro" imageMso="GroupOrgChartArrange" label="Data Loader" size="large" onAction="LoadData()"/> 
    </group> 
    </tab> 
    </tabs> 
    </ribbon> 
    </customUI> 
    
    
    Formatting tags added by mark007
    So, in my module I should have this:
    Sub LoadData (control As IRibbonControl) 
    
    
    Formatting tags added by mark007
    once again, it does not know what "IRibbonControl" is

  2. #2
    Solved it, the missing reference is MS Office 14.

Posting Permissions

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