E
Erwin Bormans
Hey all,
I'm trying to add a button to a toolbar in MS Access 2007 and by clicking
that button let him to run some own written vba code.
But I cant find an option to write vba code behind a button.
I've tried to make a macro that runs a procedure, but I get the error all
the time that Access cant find that procedure...
Made a module called Email:
Option Compare Database
Public Function email()
mail
End Function
Public Sub mail()
MsgBox "test"
End Sub
And then make a macro that runs email()
Can somebody help me in the right direction?
Kind regards,
Erwin
I'm trying to add a button to a toolbar in MS Access 2007 and by clicking
that button let him to run some own written vba code.
But I cant find an option to write vba code behind a button.
I've tried to make a macro that runs a procedure, but I get the error all
the time that Access cant find that procedure...
Made a module called Email:
Option Compare Database
Public Function email()
End Function
Public Sub mail()
MsgBox "test"
End Sub
And then make a macro that runs email()
Can somebody help me in the right direction?
Kind regards,
Erwin