Macro from Access 2007 Ribbon (1 Viewer)

martinjward

Registered User.
Local time
Today, 22:07
Joined
Sep 28, 2007
Messages
22
I am calling a macro from a ribbon using XML. The macro calls a function to run however I keep getting the following error...

'Return without GoSub'

and then a message pops up (see attached image)

I have put debugger on the first line of the function, but it never gets there -therfore it must be the macro, which is a simply a RunCode macro calling the function.

Can anyone advise what I have done wrong.:confused:
 

Attachments

  • macro error.JPG
    macro error.JPG
    17.1 KB · Views: 149

Users who are viewing this thread

Top Bottom