Solved

Add Code Call to Ribbon

Posted on 2011-03-13
4
547 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.

912 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

16 Experts available now in Live!

Get 1:1 Help Now