Link to home
Start Free TrialLog in
Avatar of Eileen Murphy
Eileen MurphyFlag for United States of America

asked on

Add Code Call to Ribbon

How do I add code to call a  function to an existing ribbon???
Avatar of ewkelly
ewkelly
Flag of Canada image

Here is a link to a MS training course that deals with this issue.

http://msdn.microsoft.com/en-us/gg465035
Avatar of Eileen Murphy

ASKER

This calls for Visual Studio ---  I'm using Access 2007. All I need is the code to call a function or macro....
Avatar of DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
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
 
ASKER CERTIFIED SOLUTION
Avatar of DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial