[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Complie Error on 2007 Ribbon Control

Posted on 2012-09-12
1
Medium Priority
?
302 Views
Last Modified: 2012-10-02
when trying to compile the following I get "user defined Event not defined"

Running Access 2007


Public Function OnActionButton(ctl As IRibbonControl)
End Function
    Run ctl.ID
End Function
0
Comment
Question by:seamus9909
1 Comment
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 2000 total points
ID: 38392076
Is your code snippet correct? I wouldn't think so (you've got an orphaned "End Function" and the Run line is not part of a procedure) - please review and post a valid snippet.
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
Suggested Courses
Course of the Month18 days, 12 hours left to enroll

834 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