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

Smart Quotes in AutoCorrect Entries

Smart quotes can add a finishing touch to your text. You might expect that when AutoCorrect is used to add text, it would ...

Discover More

Combining Drives in Storage Spaces

Need to add some addition drive space to your system? Why not consider adding what Windows calls a 'storage space?' This ...

Discover More

Replacing a Colon in a Sequence

Sometimes you'll run across the need to replace a very specific sequence of characters in your document. It is for these ...

Discover More

Learning Made Easy! Quickly teach yourself how to format, publish, and share your content using Word 2013. With Step by Step, you set the pace, building and practicing the skills you need, just when you need them! Check out Microsoft Word 2013 Step by Step today!

More WordTips (menu)

Quickly Inserting Table Rows

Need to pop a few extra rows into a table? It is easy to do using the same tools you used to create the table in the ...

Discover More

Freezing Cell Size when Inserting Pictures

Insert a picture into a table cell, and you may quickly find that the table is no longer the size you expected. Here's ...

Discover More

Table Header Rows after a Manual Page Break

Insert a manual page break into the middle of a table, and you may find that subsequent pages of the table don't always ...

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 2 + 8?

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.