Can I add a VB command button to a Word document?

C

celias

I have a Word document that is on a website, and after a user fills out the
document, I want the user to be able to press a command button to where it
saves the file as "c:\documentname datenow.doc" and send me an e-mail with
the saved Word document as an attachment. Can this be done? I know it's not
correct practice to have someone fill out a document, they should fill out a
form and send the form information to the document, but we're strapped for
time.

Thanks,
Chris
 
J

Jay Freedman

celias said:
I have a Word document that is on a website, and after a user fills
out the document, I want the user to be able to press a command
button to where it saves the file as "c:\documentname datenow.doc"
and send me an e-mail with the saved Word document as an attachment.
Can this be done? I know it's not correct practice to have someone
fill out a document, they should fill out a form and send the form
information to the document, but we're strapped for time.

Thanks,
Chris

You can try the code at http://word.mvps.org/FAQs/InterDev/SendMail.htm. I
don't know how well it will work in a web page.
 
C

celias

Thanks Jay,

It works great. Again, thank you for all your help.

Best Regards,
Chris
 

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

Top