Creating a Word doc and putting it into a web page

  • Thread starter Thread starter Lisa
  • Start date Start date
L

Lisa

I want to gain information from visitors to my web site.
I want to create a Word document and then place it on my
web page. When the viewer clicks on the thumbnail of the
document, a full-sized version of the document opens in
Word and the visitor types in info and then sends in onto
me. An example of what I am after in the Order Form is at
www.allsignsystems.com. Can someone tell me how to
accomplish this task?

Thank you, Lisa
 
Are you sure you want to do this? The downsides are a) the form will work
only for users who have Word and b) a lot of people are very wary of
downloading Word documents from unknown web sites -- some corporate sites
prevent it completely.

However, if you must...

1. Create the document using form fields for the info you want. You could
add a macro to email the document to you, but putting code in the document
will set off security alarms for a lot of users when they download it, and
again when your code tries to access their email system.

2.. Create the thumbnail by print previewing the document at the size you
want, do a screen capture (Ctrl-Alt-PrintScreen), paste into a graphics
program, crop, and save as a GIF.

3. Insert the GIF onto your web page and hyperlink to your document.
 
You'll also have to create a VB script to make a button to
email the document. If they just use the "email this page"
function within their browser, all the data will be
stripped from the form.

Private Sub cmdSubmit_Click()

ActiveDocument.SendMail

End Sub
 
Back
Top