How to properly "call" a macro - getting error 2485 "can't find object"

E

EagleOne

2003


From an on_click event I am attempting to call a macro that has been converted to VBA.

The macro name is "Open_FBWT_Macro")

The module containing the macro is "VBA Macros"

COMMANDS USED:

DoCmd.OpenModule "VBA Macros"
DoCmd.RunMacro("Open_FBWT_Macro")

GET: Runtime err 2845 "can't find object"

How do I properly call a converted macro from an on_click event?

TIA EagleOne
 
T

Tom van Stiphout

On Sat, 24 May 2008 11:34:42 -0400,
(e-mail address removed) wrote:

Replace the two lines with:
Open_FBWT_Macro

-Tom.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top