Hey All,
I am trying to create an interactive form using MS Word 2007 and I want the form to be emailed to an email id by clicking on a submit button in word document itself. I added several controls like text box and dropdown list boxes. Finally added a button and tried to program the button using MS Visual Basics Editor. All I did was I recorded a Macro and tried to run from the code editor as this

Private Sub CommandButton1_Click()
Call SendMail
End Sub

The SendMail macro opens up the Outlook window and adds the filled out form as an attachment. The problem I have is, each time I have to enter the TO address. Also the mail does not reach the To address. Is there anyway that I can make the MS word form get emailed automatically once the submit button is clicked rather than typing the To address in the Outlook window and sending it? Please help.

Sharon.

how does this post relate to html and css?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.