Fillable Forms (CSEC Tutorial in Microsoft Word)

https://youtu.be/HnudH-ApOoM

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.

© 2021  Vedesh Kungebeharry. All rights reserved. 

Fillable forms – (Microsoft Word) – Live Class

Hello Students, this post contains a live capture of our class on fillable forms.

Please note:

  1. 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.
  2. 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)
  3. Optional exercise – Use google forms to produce a form which captures the information from the tutorial from part 2 above.

© 2021  Vedesh Kungebeharry. All rights reserved. 

Submit A word processing form Via email

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


  • Place the following code:


        Options.SendMailAttach = True
        ActiveDocument.SendMail

    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


© 2020 Vedesh Kungebeharry.  All rights reserved.