Solved

Add Code Call to Ribbon

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Suggested Solutions

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…
Experts-Exchange is a great place to come for help with solutions for your database issues, and many problems are resolved within minutes of being posted.  Others take a little more time and effort and often providing a sample database is very helpf…
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.
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

803 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