Add Code Call to Ribbon

How do I add code to call a  function to an existing ribbon???
Eileen MurphyIndependent Application DeveloperAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Connect With a Mentor Database ArchitectCommented:
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
 
ewkellyCommented:
Here is a link to a MS training course that deals with this issue.

http://msdn.microsoft.com/en-us/gg465035
0
 
Eileen MurphyIndependent Application DeveloperAuthor Commented:
This calls for Visual Studio ---  I'm using Access 2007. All I need is the code to call a function or macro....
0
 
DatabaseMX (Joe Anderson - Microsoft Access MVP)Database ArchitectCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.