Validating Data

Written by Allen Wyatt (last updated July 30, 2021)
This tip applies to Word 97, 2000, 2002, and 2003


1

Ed asked if there was a way, using Word tables, to validate data that is added to cells. For instance, to limit the minimum and maximum characteristics of the data that could be entered in a cell.

The bad news, Ed, is that there is no easy way to accomplish such a feat solely using Word. Granted, a set of macros could be devised that would do some sort of validation, but they would not be easy, by any stretch of the imagination. Alternatively, you could set up a user form with input fields for each table cell. Then, you could apply validation code to what the user enters or selects in each input field. Even this approach, however, would be difficult to implement for all but the simplest tables.

Perhaps the easiest method of accomplishing data validation, however, is to simply use Excel. It has data validation routines quickly available to a user on a cell-by-cell basis. Then, the table data created in Excel can be pasted into (and linked to) a Word document.

WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (1495) applies to Microsoft Word 97, 2000, 2002, and 2003.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Hanging When Opening a Workbook

If you are opening a workbook and Excel seems to hang without ever fully loading, it could be due to a number of ...

Discover More

Adding a Drop Shadow to a Text Box

One way to make your text boxes "stand off" the page is to add a drop shadow to them. This tip shows just how easy it is ...

Discover More

Word's Native Measurement Unit

Word allows you to specify distances using a number of different measurement units. Figuring out how those measurement ...

Discover More

Do More in Less Time! Are you ready to harness the full power of Word 2013 to create professional documents? In this comprehensive guide you'll learn the skills and techniques for efficiently building the documents you need for your professional and your personal life. Check out Word 2013 In Depth today!

More WordTips (menu)

Expanding Width of All Tables

If you have a lot of tables in your documents, you might want to change the width of all of them. You can take forever ...

Discover More

Viewing Formulas in Table Cells

Word allows you to insert simple formulas, using fields, in table cells. If you want to see these formulas in their ...

Discover More

Placing Text in Empty Table Cells

Tables are often used to organize information into an understandable format. If your company requires that tables in ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] (all 7 characters, in the sequence shown) in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is two less than 9?

2017-02-21 16:09:35

Kristine

Is there a way to show a field in Word 2010 that allows values 0-999 up to 2 decimals. A drop down is too huge so I need an acceptable range. It has to be able to have a validation message if the number is outside the allowable range and decimals. I use data validation in excel, do not see in Word 2010. Once the data is entered, it does not get used anywhere only needs to be entered correctly by range and decimal.
Thanks.


This Site

Got a version of Word that uses the menu interface (Word 97, Word 2000, Word 2002, or Word 2003)? This site is for you! If you use a later version of Word, visit our WordTips site focusing on the ribbon interface.

Videos
Subscribe

FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.