Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 497
  • Last Modified:

USING EQUATION EDITOR IN WORD

I could use some help making math tests in WORD that add some automation to help me with grading.  I have some ideas on what I want to do, and will ask questions about that later, but the critical issue now which I can't seem to get a good handle on is how to create a form where students can input not just text but also equations.

This site...
http://www.mcli.dist.maricopa.edu/mlx/slip.php?item=383

Has a form it creates
http://zircon.mcli.dist.maricopa.edu/mlx/warehouse/00301-00400/00383/space_report.doc

which has protected areas, check boxes, and a field for typed input.  That is great, those are features I want to use, but if you try to insert anything other than text into the fields created, it does not work.  I need to have an area in a form that is more general than that.

In a WORD document, you insert an equation, or make an equation, using the Equation Editor.  This feature is not usually installed, you have to install it from the CONTROL PANEL.  To write equations in WORD you go to the INSERT menu, choose OBJECT, then choose MICROSOFT EQUATION 3.0, then use the various tools it has which appear on the screen.

Does anyone know how to create a "form" that would allow such input?
0
onlinemathteacher
Asked:
onlinemathteacher
  • 4
  • 3
1 Solution
 
FayazCommented:
What is the password for this doc?
0
 
GrahamSkanRetiredCommented:
If you have more than one Section in a forms-protected document, some of them can be set to unprotected.

This is a copy of  the document with an unprotected section after the table. The password is this copy is blank
Space-Travel-Report.doc
0
 
onlinemathteacherAuthor Commented:
Don't know how on this site to answer experts separately so;

Fayaz; I didn't need a password to open, not sure what you are referring to, but thx for the note.

Graham; ok I located the menu in WORD where you can create sections that are protected and not protected.  Seems straightforward.  Before I close this thread out, maybe you could give me some suggestions.

I made up a test with the following format...

pull down field with list of students in the class
the label is "click here to select your name"

Question 1: What is 2+2
Show your work here-an unprotected Table cell
4 checkboxes with labels that are possible answers
.
.
.
Question 10 : Evaluate 12*3

Show your work here-an unprotected Table cell
4 checkboxes with labels that are possible answers


So each student clicks on the pull down, and sets it to his name, then does work in the unprotected areas, picks answers in the checkboxes.  I get the test and what I want to do is look at the work manually, but have a macro look at the pull down to see what student's test this is, and then look at the checkboxes that I know have the right answers to see if they are checked.  If they are checked, then I want to add points to cells in a separate Excel sheet.  The sheet has columns for student names in the class and rows representing each question.  I know which col because the first pull down is set, and I know each row as I go through each question.

Sound like a good approach?

What I don't know how to do is read the value of a checkbox or pull down.

I'd like to up the points on this question to 500 to cover any further discussion.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 
GrahamSkanRetiredCommented:
Be aware that a table cannot span sections, so you would have to accommodate that in your design.

Reading a checkbox value is fairly simple., though the dropdown needs an extra step.

Dim ffcb As FormField
Dim bValue As Boolean
Dim ffdd As FormField
Dim strValue As String
Dim iListIndex As Integer

Set ffcb = ActiveDocument.FormFields("Check1")
bValue = ffcb.CheckBox.Value

Set ffdd = ActiveDocument.FormFields("Dropdown1")
iListIndex = ffdd.DropDown.Value
strValue = ffdd.DropDown.ListEntries(iListIndex).Name

Open in new window

0
 
onlinemathteacherAuthor Commented:
Grahamskan

Somehow my comments did not go; just wanted to thank you.  I did make up a test with protected text and unprotected work areas followed by checkboxes that can be edited.  I wrote a macro in Excel that reads all the checkboxes, so I can now automate the scoring of tests.

Thanks!
0
 
onlinemathteacherAuthor Commented:
I'm having some difficulties with my solution, I've posted another question.  In this solution, DIM statements set variables as FORMFIELD but they are used as FORMFIELDS in the macro.  Is that a problem?

Another expert has suggested that I am using Activedocument when I should be using appword.

0
 
onlinemathteacherAuthor Commented:
Seems to not work with appword but does work with docword.

0
 
GrahamSkanRetiredCommented:
It wasn't clear that you were working in Excel.

A FormFields object refers to a collection of FormField objects.

This line picks one of from the collectiion
Set ffcb = ActiveDocument.FormFields("Check1")


When we write macros for Word, ActiveDocument is good enough if it is the only document in the Word application. However with the possibility of more than one document, and even more that one instance of the Word application running, it might not find the document that you are expect.

It's not a good idea to call for a specific expert. Luckily it didn't put off the other expert - I was in bed.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now