by Allen Wyatt
(last updated April 16, 2016)
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.
Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 today!
Inserting a table is fast and easy in Word. You may want to make sure that the cells in the table are as square as possible. ...Discover More
Do you need a way to protect the information you put in a table? Word doesn't have a way to do this, but there are a few ...Discover More
When you transpose information, it is essentially "rotated" in a direction. If you transpose the information in a table, then ...Discover More