Please Note: This article is written for users of the following Microsoft Word versions: 97, 2000, 2002, and 2003. If you are using a later version (Word 2007 or later), this tip may not work for you. For a version of this tip written specifically for later versions of Word, click here: Setting Up an Array with Fields.
Written by Allen Wyatt (last updated November 11, 2023)
This tip applies to Word 97, 2000, 2002, and 2003
There may be a time when you need to create an "array" in the middle of a sentence. For instance, you may need to have a 3 x 3 "mini table" within a sentence. Using an actual table can be unwieldy, particularly if you literally want the array in-line within your sentence.
If you have such a special need, try this out:
{ EQ \a \ac \co3 (One,Two,Three,Four,Five,Six,Seven,Eight) }
When putting together your field, the \a switch indicates you are creating an array. The \ac switch indicates you want the information in each cell centered (you can also use \al for left alignment or \ar for right alignment). The \co3 switch indicates you want three columns in this array; you can (and should) change the number in the switch to reflect the number of actual columns you want in the array. Finally, the information within the parentheses represents the text to appear in each cell of the array, top to bottom and left to right. As shown in this example, the resulting array will be three columns by three rows.
You can also add some spacing switches to the field, if desired. For instance, if you wanted four points of space both vertically and horizontally between the array cells, you could add \vs4 \hs4 to the field.
It is hard to describe the effects of setting up an array. The best way to understand it is simply to try it. You may very well find many instances when you can use arrays in your own documents.
WordTips is your source for cost-effective Microsoft Word training. (Microsoft Word is the most popular word processing software in the world.) This tip (550) applies to Microsoft Word 97, 2000, 2002, and 2003. You can find a version of this tip for the ribbon interface of Word (Word 2007 and later) here: Setting Up an Array with Fields.
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!
Sometimes you may have two documents that are so integrally related to each other that the one document may require the ...
Discover MoreWord allows you to insert simple formulas, using fields, in table cells. You can also create simple conditional ...
Discover MoreWord keeps track of a name for the person using the program. If you want to add this person's name into the document, ...
Discover MoreFREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)
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.
Visit the WordTips channel on YouTube
FREE SERVICE: Get tips like this every week in WordTips, a free productivity newsletter. Enter your address and click "Subscribe."
Copyright © 2024 Sharon Parq Associates, Inc.
Comments