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

A Picture Is Worth a Thousand Words

Nothing beats a screen shot when you are trying to convey information about using the computer. With just a couple of ...

Discover More

Backing Up Building Blocks

Got a lot of Building Blocks defined in Word? You can back them up rather easily, but first you need to figure out where ...

Discover More

Stop Graphics and Text from Jumping Around

Do you struggle with getting your graphics and surrounding text to appear just the way you want it? Here are some ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 today!

More WordTips (menu)

Moving a Table Column

Want to move a column in a table very easily? You can do so by using the same editing techniques you are already using.

Discover More

Picking a Contiguous Range of Table Cells

Creating a table in Word is a relatively simple task. When you want to format or edit information in the table, often the ...

Discover More

Footnotes for Tables

Word includes a powerful feature that allows you to add footnotes and endnotes to your document. What if you want them at ...

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 6 - 0?

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.