Link to home
Start Free TrialLog in
Avatar of onlinemathteacher
onlinemathteacherFlag for United States of America

asked on

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?
Avatar of Fayaz
Fayaz
Flag of United Arab Emirates image

What is the password for this doc?
Avatar of GrahamSkan
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
Avatar of onlinemathteacher

ASKER

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.
ASKER CERTIFIED SOLUTION
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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!
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.

Seems to not work with appword but does work with docword.

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.