Run a macro

  • Thread starter Thread starter Osyris
  • Start date Start date
O

Osyris

hi all..
i need a little help

i have create a macro that when it runs it sends an email to a user..

what i want is a querry to do the following
when a check box is checked then run the macro..
eg
if checkbox=true then
[ run macro ]

hpw can i do this?

thanx
 
Osyris,

In design view of your macro, enter the equivalent of this in the
Condition column:
[NameOfYourCheckbox]<>0

If you can't see the Condition column, select it from the View menu.
 
Queries don't have events so you would need to create a form. You can then
add the suggested code to the AfterUpdate event of the checkbox.
 

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

Back
Top