Mandatory field in word document

  jnevill 16:19 07 Aug 03

I am designing some forms using MS Word 97. They need to include mandatory fields that must be completed before the user can proceed to next sheet or print form. Is there a way of doing this in word?

  Chris the Ancient 16:29 07 Aug 03

A darned good question!

In Word XP (afraid the only one I remember at the moment), you can add a property to the form field (right click field and call up properties) that allows you to have a macro associated with that field. You would then need to have the macro check if the field is not blank before you are allowed to move to the next page.

My Word macro'ing is a little rusty, but I'm sure that a vbasic guru can then design something appropriate. Let's hope that VoG spots this and picks up the challenge!


  jazzypop 19:33 07 Aug 03

See click here - an excellent set of links to creating Forms in Word.

  jnevill 19:47 07 Aug 03

Many thanks Chris & Jazzypop, I'll have a look at both


  Chris the Ancient 20:37 07 Aug 03

An incredible link. I love it (and I've saved it!)


  Chris the Ancient 20:37 07 Aug 03

An incredible link. I love it (and I've saved it!)


  Chris the Ancient 20:38 07 Aug 03

Sticky finger job.

  VoG II 20:44 07 Aug 03

... for saving me from being volunteered by Chris the Ancient to write a load of VBA code!

I have written a little VBA for Word but I'm most at home in Excel.

  jnevill 20:47 07 Aug 03

I did think the form may work better in Excel if you have any suggestions!!!!!

  Chris the Ancient 20:52 07 Aug 03

I thought you might like a little mental exercise before your holiday.. LOL


  VoG II 20:57 07 Aug 03

No I think you're better off with jazzypop's link!

If you are serious you could do this using UserForms in Excel click here and checking that all fields were completed using a bit of VBA code.

This thread is now locked and can not be replied to.

Nintendo Switch (Nintendo NX) release date, price, specs and preview trailer: Codename NX console…

1995-2015: How technology has changed the world in 20 years

8 things designers (and brands) need to know about the modern woman

How to speed up a slow Mac: 19 great tips to make an iMac, MacBook or Mac mini run faster | Speed…