Run a macro

  • Thread starter Thread starter Cristian Marucci
  • Start date Start date
C

Cristian Marucci

Hi! I'm working with a form in Outlook. In the form, i had a command
button and i want to save some data in a sql server database. I build
a macro called "SaveMyData" but i dont know how to run it from the
button. Can anyone help me?
Thanks a lot.

Cristian Marucci
(Buenos Aires - Argentina)
 
Sub CommandButton1_Click()
Call SaveMyData()
End Sub
 

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