Add email button - Access 2000

R

Randy Star

I need to add a button on the form that just opens a new email, pre-filled
with an email address from a field also in the same form. Can someone PLEASE
walk me through this? Much appreciated! Thanks.
 
R

Randy Star

Thanks for replying - might I ask for a little bit more elaboration on my
specific issue?
 
O

Ofer

On the OnClick event of the button run this code
===================================
Dim spObj As Object, objItem As Object
Set spObj = CreateObject("Outlook.Application")

Set objItem = spObj.CreateItem(olMailItem)
objItem.Display
Set spObj = Nothing
===================================
 
Top