VBA code

H

Hunt

I would like to embedd a form into the body of the email as oppose to
attaching it. I created a simple form in word with a command button that has
the following code: Private Sub CommandButton1_Click()
Options.SendMailerAttach = True
ActiveDocument.SendMail
 
J

Jezebel

This won't work. Emails are either plain text or HTML. A Word document sent
as the body of an email is sent as HTML. A Word form is not converted to an
HTML form.

On top of which, many (most?) people choose to receive all their emails as
plain text, regardless of how they were sent, for obvious anti-spam and
anti-virus reasons.
 
Top