Email command button

C

charlotte49ers

I am trying to create a command button on a form that will email the address
that I have in one of the fields also on the form. Is there a VBS code that
will allow me to do this?
 
D

Daniel Pineault

Assuming txtemail is the name of the control with the e-mail address, try
something like the following as a onclick event for your command button.

Application.FollowHyperlink "mailto://" & Me. txtemail
 
Top