Students to follow along with the video, using Microsoft word to – 1. Enable the developer tab. 2. Create a fillable form 3. Create a submit button : Submit A word processing form Via email
Optional content
Can you create a fillable form using google forms? Reproduce the fillable form from the example using google forms if you can.
Homework
Read and practise the example from Information Technology for CSEC – 3rd edition, Howard Campbell, pg 154-157.
Hello Students, this post contains a live capture of our class on fillable forms.
Please note:
Not all form controls were demonstrated, the list box and checkbox controls were deliberately left out of the demonstration for your research and learning during homework.
Homework: Information Technology for CSEC 3rd Edition , Howard Campbell – complete the tutorial found from pages 154-157 (this includes all controls that were omitted in class from part 1 above)
Optional exercise – Use google forms to produce a form which captures the information from the tutorial from part 2 above.
Creating a button to submit a Word processing Form as an email Attachment
From the developer tab select Command Button:
Change the button’s name:
Right click on the button and select edit:
The button text now becomes editable, change it to what best describes the button. In this case, the text was changed to “Save Document and Send via Email”:
(The text was too long, so the button was widened to display all text.)
Set up the button to send the email when clicked:
Right Click the button and choose view code:
A visual basic window will popup. This gives a place to put some code that will be executed when the button is clicked
Such that it is within the button click sub routine:
You may now close the Visual Basic window.
Now , when the button is clicked, you computer’s default mail client will be opened with the form attached for sending via email.
Note that the method above does not allow for setting a recipient’s address in the opened mail client. If you would like to specify a recipient address and email subject, use the following code within the click subroutine:
Activedocument.HasRoutingSlip = True
With Activedocument.RoutingSlip
.Subject = "New subject goes here"
.AddRecipient "Firstaddress@Mail.com"
.AddRecipient "Secondaddress@Mail.com"
.Delivery = wdAllAtOnce
End With
Activedocument.Route