aforward
aforward

Reputation: 133

MS Access - Run VBA script to OnClick event

I am trying to get a VBA script to run when I click a button on a form in access. I've looked at guides online and they say to press [Event Procedure] on the drop down but I don't seem to have the option to do that. Any ideas?

edit:

Clicking on the three dots just takes me to a screen to enter a macro, I don't get the option to choose.

Thanks!

No options shown on drop down for OnClick

Upvotes: 0

Views: 2020

Answers (1)

parakmiakos
parakmiakos

Reputation: 3020

  1. Clear the On Click field (delete the [Embedded Macro] text)

  2. After that, click the ... button.

  3. You should see this dialog box : dialog box

  4. Choose Code Builder.

Enjoy :D

Upvotes: 3

Related Questions