Solved

Add Code Call to Ribbon

Posted on 2011-03-13
4
532 Views
Last Modified: 2012-05-11
How do I add code to call a  function to an existing ribbon???
0
Comment
Question by:Ei0914
  • 2
4 Comments
 
LVL 5

Expert Comment

by:ewkelly
ID: 35123528
Here is a link to a MS training course that deals with this issue.

http://msdn.microsoft.com/en-us/gg465035
0
 

Author Comment

by:Ei0914
ID: 35123566
This calls for Visual Studio ---  I'm using Access 2007. All I need is the code to call a function or macro....
0
 
LVL 75
ID: 35124819
If you go to Albert's site ...

http://www.kallal.ca/Ribbon/ribbon.htm

He has an example ...

<button id="button3"
   size="large"
   getLabel="MyLabel"
   getEnabled="MyEnable"
   getVisible="MyVisible"
   getImage="MyImage" "tag="sunny.png"
   onAction="=Bt3()"
/>

So ... this code would be for a custom Ribbon in the MSysRibbons table.  There are other examples on his site also.

mx
 
0
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Access MVP) earned 500 total points
ID: 35124823
OK ... search on that page for

"In a hurry? Just want to try this? Download and run the access sample here - ribbon class 2007 example - link here"

Click that link to download a sample ACCDB ... which has what you need.  I've checked it out.

mx
0

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

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…

705 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

22 Experts available now in Live!

Get 1:1 Help Now