Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Add Code Call to Ribbon

Posted on 2011-03-13
4
Medium Priority
?
594 Views
Last Modified: 2012-05-11
How do I add code to call a  function to an existing ribbon???
0
Comment
Question by:Eileen Murphy
  • 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:Eileen Murphy
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 - Microsoft MVP, Access and Data Platform) earned 2000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Microsoft Access has a limit of 255 columns in a single table; SQL Server allows tables with over 255 columns, but reading that data is not necessarily simple.  The final solution for this task involved creating a custom text parser and then reading…
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

772 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