K
Keith
I have an application that is developed in Access 2007, but some (or most) of
the users are running Access 2000. I created a ribbon menu for certain
things, and it worked fine on either 2000 or 2007 (or 2007 runtime) until I
added a button that opens a form. That button (or the code it called)
requires a reference to Microsoft Office 12.0 Object Library. Code below:
Public Sub OnOpenForm(Control As IRibbonControl)
DoCmd.OpenForm Control.Tag
End Sub
Since the Access 2000 users do not have this library available, they get
runtime errors. Is there a way I can late bind the Microsoft Office 12.0
Object Library so that it only gets called if the user calls a particular sub
or function? Alternatively, is there a way to install the Microsoft Office
12.0 Object Library on the machines that don't have Access 2007 installed on
them?
the users are running Access 2000. I created a ribbon menu for certain
things, and it worked fine on either 2000 or 2007 (or 2007 runtime) until I
added a button that opens a form. That button (or the code it called)
requires a reference to Microsoft Office 12.0 Object Library. Code below:
Public Sub OnOpenForm(Control As IRibbonControl)
DoCmd.OpenForm Control.Tag
End Sub
Since the Access 2000 users do not have this library available, they get
runtime errors. Is there a way I can late bind the Microsoft Office 12.0
Object Library so that it only gets called if the user calls a particular sub
or function? Alternatively, is there a way to install the Microsoft Office
12.0 Object Library on the machines that don't have Access 2007 installed on
them?