Toolbar action repeats

  • Thread starter Sailor1877 via AccessMonster.com
  • Start date
S

Sailor1877 via AccessMonster.com

Here is a strange one... probably has a simple solution though.

I've created a public subroutine in a form. When I created a button on a
toolbar that is associated with that form, Access runs the subroutine 3 times.


The toolbar button has the action of :

=ToolBar_Message

The routine I created is:

Public Sub ToolBar_Message()

MsgBox "Hello World"

End Sub

If I create a button on the form itself with this subroutine as the event
handler, Access only runs it once like it's supposed to. Any ideas as to
what I might be doing wrong?
 

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